summaryrefslogtreecommitdiff
path: root/examples/redhat/smb.init
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1997-08-19 09:50:31 +0000
committerJohn Terpstra <jht@samba.org>1997-08-19 09:50:31 +0000
commite5bed1594d1ba39fe3914989311c445a4a6f8945 (patch)
tree339060ca69f329832b577a729874e01b5f613dfc /examples/redhat/smb.init
parented9e858c1dd37364f8c39fb56c09d7397ef8e85b (diff)
downloadsamba-e5bed1594d1ba39fe3914989311c445a4a6f8945.tar.gz
samba-e5bed1594d1ba39fe3914989311c445a4a6f8945.tar.bz2
samba-e5bed1594d1ba39fe3914989311c445a4a6f8945.zip
JHT ===> No longer needed here. Files moved to ~/packaging/redhat.
(This used to be commit daa148c38467caea6f0c6dfe59a5f0ba6797e4bb)
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 ab047e55b4..0000000000
--- 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
-