From 236b7b27d147fed8aff049c15c764183f34411ab Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 16 Apr 2002 04:49:07 +0000 Subject: Updating the way the winbindd is handled in samba init script. Do NOT start a second instance of winbindd if it is running. --- packaging/Caldera/OpenLinux/samba.init-lsb | 3 +-- 1 file changed, 1 insertion(+), 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=$? -- cgit