summaryrefslogtreecommitdiff
path: root/packaging/RedHat/winbind.init
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-18 15:58:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:06 -0500
commit25088671a5814c79d41c583e48aaacb4c412cf44 (patch)
treece1d2223f585b01aa22a844521b809ae6dd30f35 /packaging/RedHat/winbind.init
parenteb200fcddad841c91e9cd5c8c88543297518896c (diff)
downloadsamba-25088671a5814c79d41c583e48aaacb4c412cf44.tar.gz
samba-25088671a5814c79d41c583e48aaacb4c412cf44.tar.bz2
samba-25088671a5814c79d41c583e48aaacb4c412cf44.zip
r5884: require cups to build and install; remove restruction from winbindd.init to have 'idmap [g|u]id' range set in smb.conf
(This used to be commit dd7237f50afc54b826b784bd4635ef232a3ee16a)
Diffstat (limited to 'packaging/RedHat/winbind.init')
-rw-r--r--packaging/RedHat/winbind.init14
1 files changed, 4 insertions, 10 deletions
diff --git a/packaging/RedHat/winbind.init b/packaging/RedHat/winbind.init
index 1635dca93b..289ca59083 100644
--- a/packaging/RedHat/winbind.init
+++ b/packaging/RedHat/winbind.init
@@ -26,11 +26,8 @@ CONFIG=/etc/samba/smb.conf
start() {
echo -n "Starting Winbind services: "
- RETVAL=1
- if [ "`egrep -i '(idmap.*uid|winbind.*uid)' $CONFIG | egrep -v [\#\;]`" ]; then
- daemon winbindd
- RETVAL=$?
- fi
+ daemon winbindd
+ RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/winbind || \
RETVAL=1
@@ -38,11 +35,8 @@ start() {
}
stop() {
echo -n "Shutting down Winbind services: "
- RETVAL=1
- if [ "`egrep -i '(idmap.*uid|winbind.*uid)' $CONFIG | egrep -v [\#\;]`" ]; then
- killproc winbindd
- RETVAL=$?
- fi
+ killproc winbindd
+ RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/winbind
return $RETVAL