d49d576fe5
PR: ports/31208 Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>
19 lines
289 B
Bash
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
|