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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user