2015-08-24 20:45:36 +02:00
|
|
|
#!/usr/bin/expect
|
|
|
|
set timeout 5
|
|
|
|
|
|
|
|
set mysql_password [lindex $argv 0]
|
|
|
|
|
2015-08-29 13:25:04 +02:00
|
|
|
spawn /var/www/seafile/seafile-server-4.3.2/upgrade/upgrade_4.1_4.2.sh
|
2015-08-24 20:45:36 +02:00
|
|
|
|
|
|
|
expect "to contiune"
|
|
|
|
send "\r";
|
|
|
|
|
|
|
|
interact
|