#!/bin/bash
#
# Simple script-skeleton by https://noinfo.de
#

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
