2015-10-22 22:38:59 +02:00
|
|
|
#!/usr/bin/expect
|
|
|
|
set timeout 5
|
|
|
|
|
|
|
|
set mysql_password [lindex $argv 0]
|
|
|
|
|
2015-10-22 23:13:45 +02:00
|
|
|
spawn /var/www/seafile/seafile-server-4.4.3/upgrade/upgrade_4.3_4.4.sh
|
2015-10-22 22:38:59 +02:00
|
|
|
|
|
|
|
expect "to contiune"
|
|
|
|
send "\r";
|
|
|
|
|
|
|
|
interact
|