summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountcritremote
diff options
context:
space:
mode:
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 94a37dc..ff965da 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
OpenPOWER on IntegriCloud