]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r197947:
authordougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 16 Oct 2009 00:17:09 +0000 (00:17 +0000)
committerdougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 16 Oct 2009 00:17:09 +0000 (00:17 +0000)
commite4909bac3657178eb48bf363deff5ec254e8d5d1
tree69d4b84d18858b603988acdcdad8c9f21bf9a459
parent85cf7a68238eb4c18c57c64e3e6a6c29fb2b63ae
MFC r197947:

In regards to the "Starting foo:" type messages at boot time, create
and employ a more generic solution, and use it in the individual rc.d
scripts that also have an $rc_quiet test:

1. Add check_startmsgs() to rc.subr.
2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute
variations of [ -z "$rc_quiet" ] with check_startmsgs
3. In savecore add a trailing '.' to the end of the message to make it
more consistent with other scripts.
4. In newsyslog remove a : before the terminal '.' since we do not
expect there to be anything printed out in between to make it more
consistent.
5. In the following scripts change "quotes" to 'quotes' where no
variables exist in the message: savecore pf newsyslog
6. [Does not apply in RELENG_8]
7. In the following scripts separate the "Starting foo:" from the
terminal '.' to make them more consistent: moused hostname pf
8. In nfsclient move the message to its own line to avoid a style bug
9. In pf rc_quiet does not apply to the _stop method, so remove the
test there.
10. In motd add 'quotes' around the terminal '.' for consistency

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@198164 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
15 files changed:
etc/rc.d/bgfsck
etc/rc.d/cleartmp
etc/rc.d/fsck
etc/rc.d/hostid
etc/rc.d/hostname
etc/rc.d/ldconfig
etc/rc.d/motd
etc/rc.d/mountcritlocal
etc/rc.d/moused
etc/rc.d/netif
etc/rc.d/newsyslog
etc/rc.d/nfsclient
etc/rc.d/pf
etc/rc.d/savecore
etc/rc.subr