diff options
Diffstat (limited to 'security/pam_smb/files/pam_smbd.sh.sample')
-rw-r--r-- | security/pam_smb/files/pam_smbd.sh.sample | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/pam_smb/files/pam_smbd.sh.sample b/security/pam_smb/files/pam_smbd.sh.sample new file mode 100644 index 000000000000..f40ebe13d3b2 --- /dev/null +++ b/security/pam_smb/files/pam_smbd.sh.sample @@ -0,0 +1,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 |