janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end...
[gd/samba/.git] / packaging / Fedora / winbind.init
index ced81135b27fe8619eede8479c5077ab3fbcca12..05e0eb4d006feda12eed409e060b4af89c5621f6 100644 (file)
@@ -49,9 +49,11 @@ stop() {
         echo
        KIND="Winbind"
        echo -n $"Shutting down $KIND services: "
-       killproc winbindd
+       killproc winbindd -TERM
        RETVAL=$?
-       [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/winbindd
+       [ $RETVAL -eq 0 ] \
+               && && rm -f /var/run/nmbd.pid \ 
+               && rm -f /var/lock/subsys/winbindd
        echo ""
        return $RETVAL
 }