* etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
startup to ensure all existing clients work fine.
* support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
to xtab_read () for reading _PATH_XTAB.
+2000-08-09 H.J. Lu <hjl@lucon.org>
+
+ * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
+ startup to ensure all existing clients work fine.
+
+ * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
+ to xtab_read () for reading _PATH_XTAB.
+
2000-08-02 H.J. Lu <hjl@lucon.org>
* utils/mountd/auth.c (auth_authenticate_internal): Try to
case "$1" in
start)
# Start daemons.
+ action "Starting NFS services: " /usr/sbin/exportfs -r
echo -n "Starting NFS quotas: "
daemon rpc.rquotad
echo
echo -n "Starting NFS daemon: "
daemon rpc.nfsd $RPCNFSDCOUNT
echo
- # Do it the last so that all clients mounting points are
- # exported. FIXME: Why?
- action "Starting NFS services: " /usr/sbin/exportfs -r
touch /var/lock/subsys/nfs
;;
stop)
close(fd);
return xtab_read(_PATH_PROC_EXPORTS, 0);
} else
- return xtab_read(_PATH_XTAB, 0);
+ return xtab_read(_PATH_XTAB, 1);
}
int