[packages] Use the correct method for stoping the nfsd kernel threads in the
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 9 Feb 2010 00:12:21 +0000 (00:12 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Tue, 9 Feb 2010 00:12:21 +0000 (00:12 +0000)
init script.
Thanks to Peter Wagner

SVN-Revision: 19563

net/nfs-kernel-server/files/nfsd.init

index 11db03d4d0f6f495aabd192cf33156f15902e8ca..6130bec54291b802c0a586aa17428e82ae2f7c36 100644 (file)
@@ -20,7 +20,7 @@ start() {
 
 stop() {
        killall rpc.mountd 2> /dev/null
-       killall -9 rpc.nfsd 2> /dev/null
+       rpc.nfsd 0 2> /dev/null
        /usr/sbin/exportfs -au
        killall rpc.statd 2> /dev/null
 }