summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenLinux/samba.init
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/OpenLinux/samba.init')
-rwxr-xr-xpackaging/Caldera/OpenLinux/samba.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenLinux/samba.init b/packaging/Caldera/OpenLinux/samba.init
index 1b830a1da3..37955e1555 100755
--- a/packaging/Caldera/OpenLinux/samba.init
+++ b/packaging/Caldera/OpenLinux/samba.init
@@ -7,6 +7,8 @@ NAME_S=smbd
DAEMON_S=/usr/sbin/$NAME_S
NAME_N=nmbd
DAEMON_N=/usr/sbin/$NAME_N
+NAME_W=winbindd
+DAEMON_W=/usr/sbin/winbindd
# Source function library.
. /etc/rc.d/init.d/functions
@@ -30,6 +32,7 @@ case "$1" in
echo -n "Starting $IDENT: "
ssd -S -n $NAME_S -x $DAEMON_S -- $OPTIONS_SMB
ssd -S -n $NAME_N -x $DAEMON_N -- $OPTIONS_NMB
+ ssd -S -n $NAME_W -x $DAEMON_W -- $OPTIONS_WINBD
echo "."
touch $SVIlock
@@ -39,6 +42,7 @@ case "$1" in
[ -e $SVIlock ] || exit 0
echo -n "Stopping $IDENT: "
+ ssd -K -p /var/lock/samba.d/$NAME_W.pid -n $NAME_W #-x $DAEMON_W
ssd -K -p /var/lock/samba.d/$NAME_N.pid -n $NAME_N #-x $DAEMON_N
ssd -K -p /var/lock/samba.d/$NAME_S.pid -n $NAME_S #-x $DAEMON_S