diff options
author | mtm <mtm@FreeBSD.org> | 2008-07-05 15:19:58 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-07-05 15:19:58 +0000 |
commit | 9308cac661951d0ee60936aaf02d655cb0846af2 (patch) | |
tree | bcebe3f797da6fc56f9bbebbd2f95b1905872c5f /etc/rc.d | |
parent | b9483125e69a5bdf6b538a964db9d2f0418e8bf4 (diff) | |
download | FreeBSD-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.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/mountcritlocal | 4 |
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) |