4 DAEMON
="/usr/sbin/${NAME}"
8 echo -n "Starting ${NAME}: "
9 start-stop-daemon
-S -x ${DAEMON}
10 [ $?
-eq 0 ] && echo "OK" ||
echo "FAIL"
13 echo -n "Stopping ${NAME}: "
14 start-stop-daemon
-K -x ${DAEMON}
15 [ $?
-eq 0 ] && echo "OK" ||
echo "FAIL"
22 echo "Usage: $0 {start|stop|restart|reload}"