diff options
Diffstat (limited to 'packaging/Mandrake/winbind.init')
-rw-r--r-- | packaging/Mandrake/winbind.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/Mandrake/winbind.init b/packaging/Mandrake/winbind.init index e5bc9adcbf..06e5b375d0 100644 --- a/packaging/Mandrake/winbind.init +++ b/packaging/Mandrake/winbind.init @@ -28,7 +28,7 @@ RETVAL=0 start() { echo -n "Starting Winbind services: " RETVAL=1 - if [ "`grep -i 'idmap uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i 'idmap gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then + if [ "`grep -i -E '(idmap|winbind) uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i -E '(idmap|winbind) gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then daemon winbindd RETVAL=$? else |