]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - rquotad.init
- updated to 1.1.1
[packages/nfs-utils.git] / rquotad.init
index ccefafffd2419c39926aa1dc4e1993d81b7a8da8..1bfadb17b763d71eeae938fa7be116e92a8f093e 100644 (file)
@@ -29,9 +29,8 @@ else
        exit 0
 fi
 
-if [ -x /sbin/pidof ] && [ "$1" != "stop" ] && [ -z "`/sbin/pidof portmap`" ]; then
-       echo "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.027901 seconds and 4 git commands to generate.