For my backups I am using a iomega storcenter device.
All management is done by web interface and I needed a way to shut it down from a script.
Here is the script.
1 COOKIE_FILE=/tmp/iomega-stor-center-cookie.txt
2 IP=192.168.1.3
3 curl -c $COOKIE_FILE -k --data "login=admin&passwordx=" https://$IP/index.html
4 #curl -b $COOKIE_FILE -k --data "restart=identifyDevice" https://$IP/stg-device.html?t=6
5 curl -b $COOKIE_FILE -k --data "restart=Poweroff" https://$IP/stg-device.html?t=6
6 rm /tmp/iomega-stor-center-cookie.txt
November 14, 2011
shutting down a iomega storcenter
Posted by Jordi at 6:48 PM
Subscribe to:
Post Comments (Atom)
1 comment:
Thus no longer a need for reverse switches.speech recognition software
Post a Comment