23 lines
486 B
Plaintext
Executable File

#!/usr/bin/expect
set timeout 2
spawn /tmp/install/bin/lin64/batchxsetup -batch config
set GO 1
while {$GO > 0} {
expect "Press Enter key to continue" { send "\r" } timeout { set GO 0 }
}
expect "I accept and agree to the terms and conditions above." { send "y\r" }
set GO 1
while {$GO > 0} {
expect "Press Enter key to continue" { send "\r" } timeout { set GO 0 }
}
expect "I accept and agree to the terms and conditions above." { send "y\r" }
set timeout -1
expect eof