diff options
Diffstat (limited to 'net/samba/files/samba.sh.sample')
-rw-r--r-- | net/samba/files/samba.sh.sample | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net/samba/files/samba.sh.sample b/net/samba/files/samba.sh.sample deleted file mode 100644 index 04bf048e2164..000000000000 --- a/net/samba/files/samba.sh.sample +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -smbspool=/var/spool/samba -pidfiledir=/var/run -smbd=%%PREFIX%%/sbin/smbd -nmbd=%%PREFIX%%/sbin/nmbd - -case "$1" in -start) - if [ -f $smbd ]; then - if [ -d $smbspool ]; then - rm -f $smbspool/* - fi - echo -n ' Samba' - $smbd -D - $nmbd -D - fi - ;; -stop) - kill `cat $pidfiledir/smbd.pid` - kill `cat $pidfiledir/nmbd.pid` - ;; -*) - echo "Usage: ${0##*/}: { start | stop }" >&2 - exit 64 - ;; -esac |