3 # Start or stop target host using the GUDE Expert Power Control (EPC) NET power
4 # connector [1]. The target is assumed to be plugged in port 1.
6 # [1] - http://wiki.gude.info/FAQ_EPC_CmdLine#Beispiele
10 WGET="wget --quiet --delete-after"
11 URL="http://$DEVICE/ov.html?cmd=1&p=1&s="
13 if [ "$#" -ne 2 ]; then
14 echo "$0 <ip> <start|shutdown>"
18 SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
20 source $SCRIPTDIR/args.sh