]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - nfsfs.init
- 1.1.0 final
[packages/nfs-utils.git] / nfsfs.init
index 6168d1914bcdd59d03063577c5ae9c741d9ecf51..d25609165c518bcd27d5fbe5cf9890f593f6441b 100644 (file)
@@ -31,8 +31,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
 
 start() {
This page took 0.026499 seconds and 4 git commands to generate.