3 if [ "$1" = "--help" -o "$1" = "" ]; then
4 echo "ctl.sh { start | stop | --help }"
7 if [ "$1" = "start" ]; then
8 echo -n "Starting HBugs broker ... "
9 ./$daemon &> run/$daemon.LOG &
11 elif [ "$1" = "stop" ]; then
12 echo -n "Stopping HBugs broker ... "