summaryrefslogtreecommitdiff
path: root/packaging/Fedora/winbind.init
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-02 01:46:30 +0000
committerGerald Carter <jerry@samba.org>2004-02-02 01:46:30 +0000
commita870ff546ce9128e3bf8bb3ddc88f5eeb98d2eda (patch)
tree9e2f27eb92aa97692268818a5d3ae4a921f53c13 /packaging/Fedora/winbind.init
parent152e2282164069d63dde7b15f96d637db5a25245 (diff)
downloadsamba-a870ff546ce9128e3bf8bb3ddc88f5eeb98d2eda.tar.gz
samba-a870ff546ce9128e3bf8bb3ddc88f5eeb98d2eda.tar.bz2
samba-a870ff546ce9128e3bf8bb3ddc88f5eeb98d2eda.zip
janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end mapper code
(This used to be commit 902d4a647a88d1def09d5b1eacb06ab1561f3dec)
Diffstat (limited to 'packaging/Fedora/winbind.init')
-rw-r--r--packaging/Fedora/winbind.init6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/Fedora/winbind.init b/packaging/Fedora/winbind.init
index ced81135b2..05e0eb4d00 100644
--- a/packaging/Fedora/winbind.init
+++ b/packaging/Fedora/winbind.init
@@ -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
}