diff options
author | zachir <zachir@librem.one> | 2023-02-09 08:17:06 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-09 08:17:06 -0600 |
commit | 36647a0992e66718aacfde6f04df1a13cfaaa65b (patch) | |
tree | fb40f124015d27aefb8eaf9769121f48a3839ae6 | |
parent | 97e1dbbbb98c2149090c62992a5099976a8f7b04 (diff) |
update ups_ctl to not use unnecessary expects
-rwxr-xr-x | ups_ctl.sh | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2,10 +2,7 @@ /usr/bin/expect -c "spawn ssh localadmin@$1 expect \"password:\" send \"$3\r\" -expect \"Last login:\" -expect \"*from\" -expect \"*wait...\" -expect \"*> \" +expect -timeout 60 \"localadmin>\" send \"device\r\" expect \"*)> \" send \"load 1\r\" |