X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=rpcidmapd.init;h=cc8fc5c8ef4248f1ec198b2d76d29ddc79be8a4c;hb=HEAD;hp=07c9aefc392b17f16897562529e559714c00d1d8;hpb=00b12e41c74c9f036133e144f8333e7ea01455fc;p=packages%2Fnfs-utils.git diff --git a/rpcidmapd.init b/rpcidmapd.init index 07c9aef..cc8fc5c 100644 --- a/rpcidmapd.init +++ b/rpcidmapd.init @@ -22,17 +22,10 @@ else exit 0 fi -if [ "$1" != "stop" ]; then - check_portmapper || { nls "Error: portmap isn't running" && exit 0; } -fi - # Get service config [ -f /etc/sysconfig/nfsfs ] && . /etc/sysconfig/nfsfs [ -f /etc/sysconfig/nfsd ] && . /etc/sysconfig/nfsd -# /usr may be on NFS, fail silently, nfsfs will start it -[ -x /usr/sbin/rpc.idmapd ] || exit 0 - # Find out what the current runlevel dir is RUNLEVELDIR=$(cat /var/run/runlevel.dir) @@ -58,7 +51,7 @@ start() { fi msg_starting "RPC idmapd" - daemon rpc.idmapd $RPCIDMAPOPTIONS + daemon /sbin/rpc.idmapd $RPCIDMAPOPTIONS RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/idmapd }