Date: Fri, 16 Oct 2009 00:17:09 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/etc rc.subr src/etc/rc.d bgfsck cleartmp fsck hostid hostname ldconfig motd mountcritlocal moused netif newsyslog nfsclient pf savecore Message-ID: <200910160024.n9G0OZjA000961@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dougb 2009-10-16 00:17:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) etc rc.subr etc/rc.d bgfsck cleartmp fsck hostid hostname ldconfig motd mountcritlocal moused netif newsyslog nfsclient pf savecore Log: SVN rev 198164 on 2009-10-16 00:17:09Z by dougb 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) Revision Changes Path 1.9.2.2 +1 -1 src/etc/rc.d/bgfsck 1.19.2.2 +2 -2 src/etc/rc.d/cleartmp 1.14.2.2 +1 -1 src/etc/rc.d/fsck 1.11.2.2 +2 -2 src/etc/rc.d/hostid 1.13.2.2 +2 -1 src/etc/rc.d/hostname 1.20.2.2 +3 -4 src/etc/rc.d/ldconfig 1.11.2.2 +2 -2 src/etc/rc.d/motd 1.17.2.2 +2 -2 src/etc/rc.d/mountcritlocal 1.15.2.2 +2 -1 src/etc/rc.d/moused 1.32.2.2 +1 -1 src/etc/rc.d/netif 1.7.2.2 +2 -2 src/etc/rc.d/newsyslog 1.7.2.2 +2 -1 src/etc/rc.d/nfsclient 1.19.2.2 +4 -2 src/etc/rc.d/pf 1.16.2.2 +1 -1 src/etc/rc.d/savecore 1.88.2.3 +15 -7 src/etc/rc.subr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910160024.n9G0OZjA000961>