#!/bin/sh
+. /etc/rc.d/functions.rc
. /etc/rc.conf
case "$1" in
start)
- exit 0
+ status_starting $0
+ /bin/true
+ status_check
;;
stop)
- exit 0;
+ status_stopping $0
+ /bin/true
+ status_check
;;
restart)
- exit 0;
+ status_begin restarting $0
+ $0 stop && sleep 1 && $0 start
+ status_check
;;
status)
exit 0;
echo "usage: $0 {start | stop | restart | status }"
exit 1
esac
+
+exit $?