diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
commit | 0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch) | |
tree | 8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/nfs-utils | |
parent | 845317b460ee99ad633534cad4de72404af7e30b (diff) |
fix startup scripts, fix stop routine
Diffstat (limited to 'package/nfs-utils')
-rw-r--r-- | package/nfs-utils/files/nfsd.init | 8 |
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) |