]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - rpcgssd.init
- use generic portmapper check from rc-scripts
[packages/nfs-utils.git] / rpcgssd.init
index 4d67756e22a0b61bd8a6e951d7422532663242e6..803882c75048994b1c2eba6e7fd2c3323e429709 100644 (file)
@@ -22,8 +22,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
 
 # Get service config
This page took 0.030121 seconds and 4 git commands to generate.