diff options
-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 \"*)> \" |