]> git.pld-linux.org Git - packages/samba.git/blobdiff - smb.init
- more specific Requires
[packages/samba.git] / smb.init
index d6c7fae3349f582f791c780f0e34d47f78ee8db0..83e73b4bc9ef8536c2010f86e3c5844548613cb5 100644 (file)
--- a/smb.init
+++ b/smb.init
@@ -38,6 +38,10 @@ case "$1" in
                 daemon $NICELEVEL smbd -D
                 msg_starting nmbd
                 daemon $NICELEVEL nmbd -D
+               if [ "$WINBINDD" = "yes" ]; then
+                       msg_starting winbindd
+                       daemon $NICELEVEL winbindd
+               fi
                 RETVAL=$?
                 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/smb
         else
@@ -52,6 +56,10 @@ case "$1" in
                 killproc smbd
                 msg_stopping nmbd
                killproc nmbd
+               if [ "$WINBINDD" = "yes" ]; then
+                       msg_stopping winbindd
+                       killproc winbindd
+               fi
                 rm -f /var/lock/subsys/smb >/dev/null 2>&1
         else
                 msg_Not_Running smb
@@ -61,6 +69,7 @@ case "$1" in
   status)
        status smbd
        status nmbd
+       status winbindd
        smbstatus
        exit $?
        ;;
This page took 0.051888 seconds and 4 git commands to generate.