Sanitise NFS fs mounting for /usr NFS mounts.

Submitted by:	Doug Barton <DougB@gorean.org>
Reviewed by:	bde
This commit is contained in:
Jeroen Ruigrok van der Werven 2000-05-29 12:31:26 +00:00
parent c787eb8a72
commit 615f500a83

6
etc/rc
View File

@ -202,11 +202,13 @@ case ${ipv6_enable} in
esac
# Mount NFS filesystems if present in /etc/fstab
if mount -d -a -t nfs | grep -q nfs >/dev/null 2>&1; then
case "`mount -d -a -t nfs`" in
*mount_nfs*)
echo -n "Mounting NFS file systems"
mount -a -t nfs
echo .
fi
;;
esac
# Whack the pty perms back into shape.
#