mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
02f34c6f5f
PR: ports/40455 Submitted by: Michael Handler <handler@grendel.net>
18 lines
280 B
Bash
18 lines
280 B
Bash
#!/bin/sh
|
|
|
|
PIDFILE=/var/run/sfscd.pid
|
|
|
|
case "$1" in
|
|
start)
|
|
[ -x %%PREFIX%%/sbin/sfscd ] && %%PREFIX%%/sbin/sfscd && echo -n ' sfscd'
|
|
;;
|
|
stop)
|
|
[ -r $PIDFILE ] && kill -TERM `cat $PIDFILE` && echo -n ' sfscd'
|
|
;;
|
|
*)
|
|
echo "Usage: `basename $0` {start|stop}" >&2
|
|
;;
|
|
esac
|
|
|
|
exit 0
|