case $1 in
start)
#Start logic
;;
stop)
# Stop logic
;;
*)
# Default logic
echo $"Usage: $0 {start|stop}"
exit 1
;;
esac
case "$C" in
"1")
do_this()
;;
"2" | "3")
do_what_you_are_supposed_to_do()
;;
*)
do_nothing()
;;
esac