[packages] Use the correct method for stoping the nfsd kernel threads in the
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Feb 2010 00:12:21 +0000 (00:12 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Feb 2010 00:12:21 +0000 (00:12 +0000)
init script.
Thanks to Peter Wagner

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19563 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 11db03d..6130bec 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
 }