aboutsummaryrefslogtreecommitdiffstats
path: root/security/sfs/files/sfssd.sh
blob: c288a91919ae63d7d011c936936f7d4de563b7ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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