diff options
author | ZachIR <zachir@librem.one> | 2023-01-10 15:49:53 -0600 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2023-01-10 15:49:53 -0600 |
commit | bd67e2661319955472319497e024663932e4a1db (patch) | |
tree | a51c744bef97688f6378a3d248f615ca85cb8115 /ups_ctl.sh | |
parent | 9ab20abcd3e0f7172a4e94e6cf431b0b7f5d538e (diff) |
update ups_ctl to wait better
Diffstat (limited to 'ups_ctl.sh')
-rwxr-xr-x | ups_ctl.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ /usr/bin/expect -c "spawn ssh localadmin@$1 expect \"password:\" send \"$3\r\" +expect \"Last login:\" +expect \"*from\" +expect \"*wait...\" expect \"*> \" send \"device\r\" expect \"*)> \" |