diff options
Diffstat (limited to 'japanese/samba20/files/samba.sh.sample')
-rw-r--r-- | japanese/samba20/files/samba.sh.sample | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/japanese/samba20/files/samba.sh.sample b/japanese/samba20/files/samba.sh.sample deleted file mode 100644 index d0cada27c422..000000000000 --- a/japanese/samba20/files/samba.sh.sample +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -smbspool=/var/spool/samba -pidfiledir=/var/run -smbd=/usr/local/sbin/smbd -nmbd=/usr/local/sbin/nmbd - -# start -if [ "x$1" = "x" -o "x$1" = "xstart" ]; then - if [ -f $smbd ]; then - if [ -d $smbspool ]; then - rm -f $smbspool/* - fi - echo -n ' Samba' - $smbd -D - $nmbd -D - fi - -# stop -elif [ "x$1" = "xstop" ]; then - kill `cat $pidfiledir/smbd.pid` - kill `cat $pidfiledir/nmbd.pid` -fi |