diff options
author | dan <dan@FreeBSD.org> | 2000-03-25 16:17:53 +0000 |
---|---|---|
committer | dan <dan@FreeBSD.org> | 2000-03-25 16:17:53 +0000 |
commit | b1392da76bf94a3a8d2a0c2e08231fa7803f9673 (patch) | |
tree | 0c059fe1f6e39ca567354ac359039c3f705efa40 /etc | |
parent | cfc69d4ffab7e035d5cd669692de7e3328753967 (diff) | |
download | FreeBSD-src-b1392da76bf94a3a8d2a0c2e08231fa7803f9673.zip FreeBSD-src-b1392da76bf94a3a8d2a0c2e08231fa7803f9673.tar.gz |
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>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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. # |