- use generic portmapper check from rc-scripts
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 26 Apr 2007 22:19:05 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clusternfs.init -> 1.10

clusternfs.init

index 6ab83cc..9faeb1d 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
 
 # Sanity checks
This page took 0.04112 seconds and 4 git commands to generate.