-
-
Save Hyvi/846137 to your computer and use it in GitHub Desktop.
test for gwf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spawn openvpn --config /etc/openvpn/Global.ovpn | |
#expect "[sudo] password for hyvi: " | |
#send "密码\n" | |
#sleep 2 | |
expect "Enter Auth Username:" | |
send "邮箱\r" | |
sleep 2 | |
expect "Enter Auth Password:" | |
send "密码\r" | |
expect eof | |
sleep 5 | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment