Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Fix #112 Update Ubuntu expect syntax (#113)
Browse files Browse the repository at this point in the history
Update Ubuntu expect syntax
  • Loading branch information
daisukixci authored Apr 21, 2023
1 parent 976bda6 commit 5a651e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expects/expect-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ send -- "y\r"
expect -exact "Real name: "
send -- "$REALNAME\r"

expect -exact "E-mail address: "
expect -exact "Email address: "
send -- "$EMAIL\r"

expect -exact "Comment: "
send -- "$COMMENT\r"

expect -exact "Change (N)ame, (C)omment, (E)-mail or (O)kay/(Q)uit? "
expect -exact "Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? "
send -- "O\r"

# Send new Admin PIN
Expand Down Expand Up @@ -241,7 +241,7 @@ expect -exact "Enter Admin PIN: "
stty -echo
send -- "$ADMIN_PIN\r"

expect -exact "Set touch policy of ENC key to on? \[y/N\]: "
expect -exact "Set touch policy of DEC key to on? \[y/N\]: "
send -- "y\r"
expect eof

Expand Down

0 comments on commit 5a651e8

Please sign in to comment.