summaryrefslogtreecommitdiff
path: root/net/samba3/files/samba.sh.sample
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1999-05-14 11:54:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1999-05-14 11:54:55 +0000
commitb919b8311bc5d38e5731d40525c88c54816f4530 (patch)
tree35bbb3a9293cb7a160571b1bceb1ca2a52507a18 /net/samba3/files/samba.sh.sample
parentDespite what I said before, this is the official INDEX file for (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_2_0'.release/3.2.0
Diffstat (limited to 'net/samba3/files/samba.sh.sample')
-rw-r--r--net/samba3/files/samba.sh.sample22
1 files changed, 0 insertions, 22 deletions
diff --git a/net/samba3/files/samba.sh.sample b/net/samba3/files/samba.sh.sample
deleted file mode 100644
index e6807ad6d145..000000000000
--- a/net/samba3/files/samba.sh.sample
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-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