if [ "$1" != "on" -a "$1" != "off" ]
then
    echo "usage:dicelaser on|off"
else
    sshpass -p skydice ssh admin@raritan set /system1/outlet1 powerState=$1
fi
