summaryrefslogtreecommitdiff
path: root/etc/rc.d/mountcritremote
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2008-06-22 15:40:19 +0000
committerMike Makonnen <mtm@FreeBSD.org>2008-06-22 15:40:19 +0000
commit69ad4d69604dce76912249f0850ac9f9e350da18 (patch)
tree68f133ce216efc5a80eb4f231dd15a187aedd74d /etc/rc.d/mountcritremote
parent3773d8c3cfd54140fc0ec0bd448acbeb9030c566 (diff)
Notes
Diffstat (limited to 'etc/rc.d/mountcritremote')
-rwxr-xr-xetc/rc.d/mountcritremote12
1 files changed, 9 insertions, 3 deletions
diff --git a/etc/rc.d/mountcritremote b/etc/rc.d/mountcritremote
index 94a37dcee964d..ff965dac9bf88 100755
--- a/etc/rc.d/mountcritremote
+++ b/etc/rc.d/mountcritremote
@@ -36,9 +36,15 @@ mountcritremote_start()
{
# Mount nfs filesystems.
#
- echo -n 'Mounting NFS file systems:'
- mount -a -t nfs
- echo '.'
+ case "`/sbin/mount -d -a -t nfs`" in
+ '')
+ ;;
+ *)
+ echo -n 'Mounting NFS file systems:'
+ mount -a -t nfs
+ echo '.'
+ ;;
+ esac
# Mount other network filesystems if present in /etc/fstab.
case ${extra_netfs_types} in