diff options
author | mtm <mtm@FreeBSD.org> | 2008-01-26 11:22:12 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-01-26 11:22:12 +0000 |
commit | 128f4ab0d57aea53cb4339cacdfb42a764043ab6 (patch) | |
tree | 3ffc7b47836dbed4121a871b92fbc45d56084147 /etc/rc.d | |
parent | 33357225906e0884a3018c3b40134a23dc26b1e4 (diff) | |
download | FreeBSD-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.d')
-rw-r--r-- | etc/rc.d/netif | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif index c2ac711..78cca61 100644 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -72,7 +72,7 @@ network_start() if [ -f /etc/rc.d/ipfilter ] ; then # Resync ipfilter - /etc/rc.d/ipfilter resync + /etc/rc.d/ipfilter quietresync fi if [ -f /etc/rc.d/bridge -a -n "$cmdifn" ] ; then /etc/rc.d/bridge start $cmdifn |