]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - nfslock.init
- http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/1.1.1-1/nfs-utils...
[packages/nfs-utils.git] / nfslock.init
index 609cb8939e5a39f188dcccd67ee69c65851b956f..063633466f15262f76d2825fe9a5acd086f1957e 100644 (file)
@@ -30,8 +30,8 @@ else
        exit 0
 fi
 
-if [ -x /sbin/pidof ] && [ "$1" != "stop" ]; then
-       [ -z "`/sbin/pidof portmap`" ] && nls "Error: portmap isn't running" && exit 0
+if [ "$1" != "stop" ]; then
+       check_portmapper || { nls "Error: portmap isn't running" && exit 0; }
 fi
 
 # /usr may be on NFS, fail silently, nfsfs will start it
This page took 0.032192 seconds and 4 git commands to generate.