}
fi
- if [ -x $PREFIX/bin/rpcinfo ] ; then
- RPCINFO=$PREFIX/bin/rpcinfo
- elif [ -x $PREFIX/sbin/rpcinfo ] ; then
- RPCINFO=$PREFIX/sbin/rpcinfo
- else
- echo "Error: could not locate rpcinfo binary." >&2
- exit 1
- fi
- $RPCINFO -u localhost nfs 3 >/dev/null 2>&1 ||
- RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
-
[ -z "$ClearAddr" ] || echo "nfsd 127.0.0.1 1" >/proc/net/rpc/auth.unix.ip/channel
start-stop-daemon --start --quiet \