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:
parent
2bf98c0933
commit
8e5649e4ab
10
etc/rc
10
etc/rc
@ -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.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user