diff options
author | John Terpstra <jht@samba.org> | 2002-04-16 04:49:07 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2002-04-16 04:49:07 +0000 |
commit | 236b7b27d147fed8aff049c15c764183f34411ab (patch) | |
tree | 80469202e5d9ce75d872f19d474e03a36c8fab1e | |
parent | d81f3e52227c353db77a41a114479f6746fe9f78 (diff) | |
download | samba-236b7b27d147fed8aff049c15c764183f34411ab.tar.gz samba-236b7b27d147fed8aff049c15c764183f34411ab.tar.xz samba-236b7b27d147fed8aff049c15c764183f34411ab.zip |
Updating the way the winbindd is handled in samba init script.
Do NOT start a second instance of winbindd if it is running.
-rwxr-xr-x | packaging/Caldera/OpenLinux/samba.init-lsb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/Caldera/OpenLinux/samba.init-lsb b/packaging/Caldera/OpenLinux/samba.init-lsb index 615e17b21fc..80913c3340e 100755 --- a/packaging/Caldera/OpenLinux/samba.init-lsb +++ b/packaging/Caldera/OpenLinux/samba.init-lsb @@ -40,7 +40,6 @@ status() { return 0 # seems to be up and running } -# this function is dedicated to Jan Terpstra. -- Klaus Singvogel, Sep. 2001. WinbdConfig() { # returns 0 if winbindd is not configured, # and 1 if winbindd is configured. @@ -77,7 +76,7 @@ case "$1" in echo -n "Starting $SVIsubsys services: " ssd -S -n $NAME_S -x $DAEMON_S -- $OPTIONS_SMB - WinbdConfig $config_file || ssd -S -n $NAME_W -x $DAEMON_W -- $OPTIONS_WINBD + WinbdConfig $config_file || SVIstatus winbindd || ssd -S -n $NAME_W -x $DAEMON_W -- $OPTIONS_WINBD ssd -S -n $NAME_N -x $DAEMON_N -- $OPTIONS_NMB ret=$? |