November 14, 2011

shutting down a iomega storcenter

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

1 comment:

Anna Schafer said...

Thus no longer a need for reverse switches.speech recognition software