Don't confuse the admin with spurious error messages

about non-existent mount directories (which would come
into existence after the real mount has occured) when just
testing for if there are any NFS filesystems in /etc/fstab.

PR:		bin/26597
Submitted by:	Dmitry Morozovsky <marck@rinet.ru>
MFC after:	3 days
This commit is contained in:
Yaroslav Tykhiy 2001-05-27 22:50:22 +00:00
parent d6a516cf80
commit 58f43c087f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77281

2
etc/rc
View File

@ -398,7 +398,7 @@ case ${ipv6_enable} in
esac
# Mount NFS filesystems if present in /etc/fstab
case "`mount -d -a -t nfs`" in
case "`mount -d -a -t nfs 2> /dev/null`" in
*mount_nfs*)
echo -n 'Mounting NFS file systems:'
mount -a -t nfs