summaryrefslogtreecommitdiff
path: root/packaging/RedHat
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-25 02:24:47 +0000
committerGerald Carter <jerry@samba.org>2003-07-25 02:24:47 +0000
commit5373c58212a0f6d357871e4966bce8c7aab9b866 (patch)
treec550dd6eee183781078231534118c1dd35c135c3 /packaging/RedHat
parentc9305f1c647abf4dc180c93e9f481a6da9220b57 (diff)
downloadsamba-5373c58212a0f6d357871e4966bce8c7aab9b866.tar.gz
samba-5373c58212a0f6d357871e4966bce8c7aab9b866.tar.bz2
samba-5373c58212a0f6d357871e4966bce8c7aab9b866.zip
fix bug config file path in winbind init script (bug #237)
(This used to be commit 92b59848ca9cfab52b9434e364bcaa1dad2afbaf)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r--packaging/RedHat/winbind.init9
1 files changed, 2 insertions, 7 deletions
diff --git a/packaging/RedHat/winbind.init b/packaging/RedHat/winbind.init
index 17ddbd502b..e5680726e7 100644
--- a/packaging/RedHat/winbind.init
+++ b/packaging/RedHat/winbind.init
@@ -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