Go to most recent revision | Blame | Last modification | View Log
#!/bin/sh
#
# chkconfig: 345 90 10
#
# Init script launching the nfsen service at the startup.
. /etc/init.d/functions
# Include nfcapd defaults if available
if [ -f /etc/sysconfig/nfsen ] ; then
. /etc/sysconfig/nfsen
fi
case "$1" in
start)
/usr/bin/nfsen start
;;
stop)
/usr/bin/nfsen stop
;;
restart)
/usr/bin/nfsen restart
;;
status)
/usr/bin/nfsen status
exit 4
;;
*)
gprintf "Usage: %s {start|stop|status|restart}\n" "$N"
;;
esac
exit 0