#!/bin/sh

NEFUCONF=__PREFIX/etc/nefu.conf

case "$1" in
start)
	__PREFIX/bin/nefu -f ${NEFUCONF} -H
	;;
stop)
	/usr/bin/killall -SIGUSR1 nefu
	;;
restart)
	$0 stop
	$0 start
	;;
*)
	echo "Usage: `basename $0` {start|stop|restart}" >&2
	;;
esac

exit 0

