stop)
stop
;;
- status)
- ID=`id -u`
- if [ $ID -eq 0 ]; then
- echo "There is no way to tell"
- else
- # don't remove the space at the end!!!
- nls "You need to be root to use this command ! "
- fi
- ;;
restart|force-reload)
stop
start
;;
+ status)
+ echo "There is no way to tell"
+ ;;
*)
msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
exit 3