From 58f43c087f4710e74b11b17b7cf746d70a7ddfab Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Sun, 27 May 2001 22:50:22 +0000 Subject: [PATCH] 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 MFC after: 3 days --- etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index b867d757eaea..504890d58914 100644 --- a/etc/rc +++ b/etc/rc @@ -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