Skip to content

Commit

Permalink
Revert "Reconfigured to use build-key-pass instead of build-key"
Browse files Browse the repository at this point in the history
  • Loading branch information
redgeoff authored Aug 28, 2018
1 parent ae9598c commit 00c7284
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions build-key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,7 @@

set name [lindex $argv 0];

# Get the password for the VPN account
stty -echo
send_user -- "VPN User Password: "
expect_user -re "(.*)\n"
send_user "\n"
stty echo
set pass $expect_out(1,string)

# Confirm the password for the VPN account
stty -echo
send_user -- "Confirm VPN User Password: "
expect_user -re "(.*)\n"
send_user "\n"
stty echo
set confirm_pass $expect_out(1,string)

spawn ./build-key-pass $name
send -- "$pass\r"
send -- "$confirm_pass\r"
spawn ./build-key $name
expect "Country Name"
send "\n"
expect "State or Province Name"
Expand Down

0 comments on commit 00c7284

Please sign in to comment.