summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-01-26 11:22:12 +0000
committermtm <mtm@FreeBSD.org>2008-01-26 11:22:12 +0000
commit128f4ab0d57aea53cb4339cacdfb42a764043ab6 (patch)
tree3ffc7b47836dbed4121a871b92fbc45d56084147 /etc/rc
parent33357225906e0884a3018c3b40134a23dc26b1e4 (diff)
downloadFreeBSD-src-128f4ab0d57aea53cb4339cacdfb42a764043ab6.zip
FreeBSD-src-128f4ab0d57aea53cb4339cacdfb42a764043ab6.tar.gz
Re-implement: do not silently fail when a command is not carried
out because the rc.conf(5) variable was not enabled. Display a message that the command wasn't run and offer suggestions on what the user can do. Implement a quiet prefix, which will disable some diagnostics. The fast prefix also implies quiet. During boot we use either fast or quiet. For shutdown we already use 'faststop'. So, this informational message should only appear during interactive use. An additional benefit of having a quiet prefix is that we can start putting some of our diagnostic messages behind this knob and start "de-cluttering" the console during boot and shutdown.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 144e3c9..2e63965 100644
--- a/etc/rc
+++ b/etc/rc
@@ -56,7 +56,7 @@ if [ "$1" = autoboot ]; then
rc_fast=yes # run_rc_command(): do fast booting
else
autoboot=no
- _boot="start"
+ _boot="quietstart"
fi
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
OpenPOWER on IntegriCloud