* etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
anything about it.
+2001-07-25 H.J. Lu <hjl@lucon.org>
+
+ * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
+ anything about it.
+
2001-06-27 H.J. Lu <hjl@lucon.org>
* etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
echo -n "Shutting down NFS daemon: "
killproc nfsd
echo
- echo -n "Shutting down NFS quotas: "
- killproc rpc.rquotad
- echo
+ if [ -n "$RQUOTAD" ]; then
+ echo -n "Shutting down NFS quotas: "
+ killproc rpc.rquotad
+ echo
+ fi
# Do it the last so that clients can still access the server
# when the server is running.
action "Shutting down NFS services: " /usr/sbin/exportfs -au
status)
status rpc.mountd
status nfsd
- status rpc.rquotad
+ if [ -n "$RQUOTAD" ]; then
+ status rpc.rquotad
+ fi
;;
restart)
$0 stop