- #MAIN SH#
- #!/bin/bash
- #echo "$(date "+%Y.%m.%d %R") Power failed." > /home/sysadmin/logs/ups.log
- #nohup /home/sysadmin/scripting/usv/servers/Mail.sh &
- #nohup /home/sysadmin/scripting/usv/servers/server1.sh &
- #nohup /home/sysadmin/scripting/usv/servers/server2.sh &
- #server1.sh#
- #!/bin/bash
- ssh usv@192.168.10.55 'sudo shutdown -h now'
- #server2.sh#
- #!/bin/bash
- ssh usv@192.168.10.56 'sudo shutdown -h now'
SHARE
TWEET
Untitled
a guest
May 30th, 2015
220
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
