#!/bin/sh

case "$1" in
start)
	[ -f __PREFIX/var/radmind/config ] && \
		__PREFIX/sbin/radmind -u 077
	;;
stop)
	/usr/bin/killall radmind
	;;
restart)
	$0 stop
	$0 start
	;;
*)
	echo "Usage: `basename $0` {start|stop|restart}" >&2
	;;
esac

exit 0

