summaryrefslogtreecommitdiff
path: root/package/nfs-utils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
commit0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch)
tree8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/nfs-utils
parent845317b460ee99ad633534cad4de72404af7e30b (diff)
fix startup scripts, fix stop routine
Diffstat (limited to 'package/nfs-utils')
-rw-r--r--package/nfs-utils/files/nfsd.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/nfs-utils/files/nfsd.init b/package/nfs-utils/files/nfsd.init
index 8d438e219..55dbd1c04 100644
--- a/package/nfs-utils/files/nfsd.init
+++ b/package/nfs-utils/files/nfsd.init
@@ -29,11 +29,11 @@ start)
fi
;;
stop)
- pkill nfsd
- pkill mountd
+ kill $(pgrep -f /usr/sbin/nfsd)
+ kill $(pgrep -f /usr/sbin/mountd)
if [ ${nfs_server_version} -eq 4 ];then
- pkill idmapd
- pkill svcgssd
+ kill $(pgrep -f /usr/sbin/idmapd)
+ kill $(pgrep -f /usr/sbin/svcgssd)
fi
;;
restart)