summaryrefslogtreecommitdiff
path: root/packaging/RedHat/winbind.init
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-09 03:18:20 +0000
committerGerald Carter <jerry@samba.org>2003-09-09 03:18:20 +0000
commit3cf6eaebd6c57974d33934bf9647b0ab9f50f88e (patch)
tree2fadaad0c5f22354650f4c64a07ab2c06aad0ec4 /packaging/RedHat/winbind.init
parent07643607a706464089bb4b5a8bd902742591b864 (diff)
downloadsamba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.gz
samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.bz2
samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.zip
syncing packaging files from 3.0
(This used to be commit ccc2a0d3840f88625cf89d6739320728e830ef87)
Diffstat (limited to 'packaging/RedHat/winbind.init')
-rw-r--r--packaging/RedHat/winbind.init11
1 files changed, 3 insertions, 8 deletions
diff --git a/packaging/RedHat/winbind.init b/packaging/RedHat/winbind.init
index 17ddbd502b..1635dca93b 100644
--- a/packaging/RedHat/winbind.init
+++ b/packaging/RedHat/winbind.init
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# chkconfig: 345 81 45
+# chkconfig: 345 91 45
# description: Starts and stops the Samba winbind daemon to provide \
# user and group information from a domain controller to linux.
@@ -19,16 +19,11 @@ fi
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
+CONFIG=/etc/samba/smb.conf
+
# Check that smb.conf exists.
[ -f $CONFIG ] || exit 0
-RETVAL=0
-
-CONFIG=/usr/local/samba/lib/smb.conf
-PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/samba/sbin:/usr/local/samba/bin
-export PATH
-
-
start() {
echo -n "Starting Winbind services: "
RETVAL=1