summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/Caldera/OpenLinux/samba.init-lsb3
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=$?