freebsd-ports/net/generic-nqs/files/nqs.sh
Tom Hukins d49d576fe5 Make Generic-NQS actually work properly
PR:		ports/31208
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2001-11-17 16:06:51 +00:00

19 lines
289 B
Bash

#!/bin/sh
case $1 in
start)
if [ -x XXXX/sbin/nqsdaemon ] ; then
XXXX/sbin/nqsdaemon > /var/log/nqs.log
echo -n ' nqs'
fi
;;
stop)
killall -KILL nqsdaemon netdaemon loaddaemon && echo -n ' nqs'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
exit 0