aboutsummaryrefslogtreecommitdiff
path: root/security/sfs/files/sfscd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/files/sfscd.sh')
-rw-r--r--security/sfs/files/sfscd.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/sfs/files/sfscd.sh b/security/sfs/files/sfscd.sh
new file mode 100644
index 000000000000..a3c977efbcdb
--- /dev/null
+++ b/security/sfs/files/sfscd.sh
@@ -0,0 +1,17 @@
+#!/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