+2001-06-27 H.J. Lu <hjl@lucon.org>
+
+ * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
+
2001-06-27 H.J. Lu <hjl@lucon.org>
* utils/rquotad/rquota_server.c: Don't call statfs () for
[ -x /usr/sbin/exportfs ] || exit 0
[ -s /etc/exports ] || exit 0
+RQUOTAD=`type -path rpc.rquotad` # Remote quota server
+
# Number of servers to be started up by default
RPCNFSDCOUNT=8
# Default to NFS version 3.
start)
# Start daemons.
action "Starting NFS services: " /usr/sbin/exportfs -r
- echo -n "Starting NFS quotas: "
- daemon rpc.rquotad
- echo
+ if [ -n "$RQUOTAD" ]; then
+ echo -n "Starting NFS quotas: "
+ daemon rpc.rquotad
+ echo
+ fi
echo -n "Starting NFS daemon: "
daemon rpc.nfsd $RPCNFSDCOUNT
echo