# !/bin/bash # # Simple script-skeleton by fm_scripts at noinfo.de # # http://www.noinfo.de/skripte/ # if [ "$1" = "" ]; then echo "Usage: $0 [on|off]" exit 1 fi if [ $1 = 'on' ]; then echo "on!" exit 0 fi if [ $1 = 'off' ]; then echo "off" exit 0 fi echo "Usage: $0 [on|off]" exit 1