o Reduce rc(8) startup clutter by turning the informational messages
off by default. o Apparently the routine displaying the informational messages wasn't checking its knob in rc.conf, so fix that as well. Requested by: obrien
This commit is contained in:
parent
43d16a0eba
commit
4541e3ecc6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119170
@ -20,7 +20,7 @@
|
||||
##############################################################
|
||||
|
||||
rc_debug="NO" # Set to YES to enable debugging output from rc.d
|
||||
rc_info="YES" # Enables display of informational messages at boot.
|
||||
rc_info="NO" # Enables display of informational messages at boot.
|
||||
rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown
|
||||
swapfile="NO" # Set to name of swapfile if aux swapfile desired.
|
||||
apm_enable="NO" # Set to YES to enable APM BIOS functions (or NO).
|
||||
|
@ -924,10 +924,14 @@ warn()
|
||||
#
|
||||
info()
|
||||
{
|
||||
case ${rc_info} in
|
||||
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
|
||||
if [ -x /usr/bin/logger ]; then
|
||||
logger "$0: INFO: $*"
|
||||
fi
|
||||
echo "$0: INFO: $*"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user