Only tell the user that we're Mounting NFS file systems when we have NFS

file systems to mount.

PR: 17594
Submitted by: Doug Barton <Doug@gorean.org>
This commit is contained in:
Dan Moschuk 2000-03-25 16:17:53 +00:00
parent 2bf98c0933
commit 8e5649e4ab

10
etc/rc
View File

@ -200,10 +200,12 @@ case ${ipv6_enable} in
;;
esac
# Mount NFS filesystems.
echo -n "Mounting NFS file systems"
mount -a -t nfs
echo .
# Mount NFS filesystems if present in /etc/fstab
if mount -d -a -t nfs | grep nfs >/dev/null 2>&1; then
echo -n "Mounting NFS file systems"
mount -a -t nfs
echo .
fi
# Whack the pty perms back into shape.
#