summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-07-05 15:19:58 +0000
committermtm <mtm@FreeBSD.org>2008-07-05 15:19:58 +0000
commit9308cac661951d0ee60936aaf02d655cb0846af2 (patch)
treebcebe3f797da6fc56f9bbebbd2f95b1905872c5f
parentb9483125e69a5bdf6b538a964db9d2f0418e8bf4 (diff)
downloadFreeBSD-src-9308cac661951d0ee60936aaf02d655cb0846af2.zip
FreeBSD-src-9308cac661951d0ee60936aaf02d655cb0846af2.tar.gz
There's no need to announce that we're mounting local filesystems when
running in quiet mode since if we fail to mount any of them the boot process gets interrupted.
-rwxr-xr-xetc/rc.d/mountcritlocal4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/mountcritlocal b/etc/rc.d/mountcritlocal
index c25d62d..49f8f06 100755
--- a/etc/rc.d/mountcritlocal
+++ b/etc/rc.d/mountcritlocal
@@ -28,7 +28,7 @@ mountcritlocal_start()
esac
# Mount everything except nfs filesystems.
- echo -n 'Mounting local file systems:'
+ [ -z "${rc_quiet}" ] && echo -n 'Mounting local file systems:'
mount_excludes='no'
for i in ${netfs_types}; do
fstype=${i%:*}
@@ -37,7 +37,7 @@ mountcritlocal_start()
mount_excludes=${mount_excludes%,}
mount -a -t ${mount_excludes}
err=$?
- echo '.'
+ [ -z "${rc_quiet}" ] && echo '.'
case ${err} in
0)
OpenPOWER on IntegriCloud