summaryrefslogtreecommitdiffstats
path: root/examples/redhat/smb.init
diff options
context:
space:
mode:
authorcvs2svn Import User <samba-bugs@samba.org>1997-07-01 01:19:14 +0000
committercvs2svn Import User <samba-bugs@samba.org>1997-07-01 01:19:14 +0000
commitad00237aafd5f68c89df5da4bae7f98b95741200 (patch)
treec163ab405805300cac2da0c6d20f72e45253d6e1 /examples/redhat/smb.init
parent1c6e433caa22813a699c9766847886eb59755f8b (diff)
downloadsamba-misc-tags/pre_luke_stuffup_1.tar.gz
samba-misc-tags/pre_luke_stuffup_1.tar.xz
samba-misc-tags/pre_luke_stuffup_1.zip
This commit was manufactured by cvs2svn to create tagsamba-misc-tags/pre_luke_stuffup_1
'pre_luke_stuffup_1'.
Diffstat (limited to 'examples/redhat/smb.init')
-rwxr-xr-xexamples/redhat/smb.init32
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/redhat/smb.init b/examples/redhat/smb.init
deleted file mode 100755
index ab047e55b4a..00000000000
--- a/examples/redhat/smb.init
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-# Source networking configuration.
-. /etc/sysconfig/network
-
-# Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 0
-
-# See how we were called.
-case "$1" in
- start)
- echo -n "Starting SMB services: "
- daemon smbd -D
- daemon nmbd -D
- echo
- touch /var/lock/subsys/smb
- ;;
- stop)
- echo -n "Shutting down SMB services: "
- killproc smbd
- killproc nmbd
- rm -f /var/lock/subsys/smb
- echo ""
- ;;
- *)
- echo "Usage: smb {start|stop}"
- exit 1
-esac
-