Skip to content

Commit 1a08073

Browse files
authored
New expect script
1 parent b80b640 commit 1a08073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller/expect.exp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set timeout -1
22
set pswd [lindex $argv 0];
3-
spawn systemctl restart kanatran
3+
spawn sudo sh deploy.sh
44
match_max 100000
5-
expect "*Password: "
5+
expect "*password for *:"
66
send -- "$pswd\r"
77
expect eof

0 commit comments

Comments
 (0)