summaryrefslogtreecommitdiff
path: root/security/pam_smb/files/pam_smbd.sh.sample
blob: f40ebe13d3b27abd1dbd4c94c6a9987c39d4c284 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
pidfiledir=/var/run
pamsmbd=%%PREFIX%%/sbin/pamsmbd

# start
if [ "x$1" = "x" -o "x$1" = "xstart" ]; then
        echo -n ' pamsmbd'
        $pamsmbd
fi

# stop
elif [ "x$1" = "xstop" ]; then
        kill `cat $pidfiledir/pamsmbd.pid`
fi