aboutsummaryrefslogtreecommitdiff
path: root/security/sfs/files/sfssd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/files/sfssd.sh')
-rw-r--r--security/sfs/files/sfssd.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/sfs/files/sfssd.sh b/security/sfs/files/sfssd.sh
new file mode 100644
index 000000000000..c288a91919ae
--- /dev/null
+++ b/security/sfs/files/sfssd.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PIDFILE=/var/run/sfssd.pid
+
+case "$1" in
+start)
+ [ -x %%PREFIX%%/sbin/sfssd ] && %%PREFIX%%/sbin/sfssd && echo -n ' sfssd'
+ ;;
+stop)
+ [ -r $PIDFILE ] && kill -TERM `cat $PIDFILE` && echo -n ' sfssd'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0