summaryrefslogtreecommitdiff
path: root/packaging/RedHat/winbind.init
diff options
context:
space:
mode:
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