15 lines
211 B
Plaintext
15 lines
211 B
Plaintext
#!/usr/bin/expect
|
|
|
|
set email "<email_address>"
|
|
set pw "<password>"
|
|
|
|
spawn ghost backup
|
|
|
|
expect "Ghost administrator email address"
|
|
send "$email\r"
|
|
|
|
expect "Ghost administrator password"
|
|
send "$pw\r"
|
|
|
|
expect eof
|