]> git.pld-linux.org Git - packages/clusternfs.git/commitdiff
- 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 6ab83ccf3dad8fcf5585d5842b04d724dbaca07e..9faeb1d54975656cf55284cac4cb5c0e2dbbbf91 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.033828 seconds and 4 git commands to generate.