Sanitise NFS fs mounting for /usr NFS mounts.
Submitted by: Doug Barton <DougB@gorean.org> Reviewed by: bde
This commit is contained in:
parent
c787eb8a72
commit
615f500a83
6
etc/rc
6
etc/rc
@ -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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user