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
+1 -1
View File
@@ -398,7 +398,7 @@ case ${ipv6_enable} in
esac esac
# Mount NFS filesystems if present in /etc/fstab # 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*) *mount_nfs*)
echo -n 'Mounting NFS file systems:' echo -n 'Mounting NFS file systems:'
mount -a -t nfs mount -a -t nfs