From owner-cvs-src-old@FreeBSD.ORG Fri Oct 16 00:24:35 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A1FC1065672 for ; Fri, 16 Oct 2009 00:24:35 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D5F78FC18 for ; Fri, 16 Oct 2009 00:24:35 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9G0OZr5000962 for ; Fri, 16 Oct 2009 00:24:35 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9G0OZjA000961 for cvs-src-old@freebsd.org; Fri, 16 Oct 2009 00:24:35 GMT (envelope-from dougb@repoman.freebsd.org) Message-Id: <200910160024.n9G0OZjA000961@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dougb@repoman.freebsd.org using -f From: Doug Barton Date: Fri, 16 Oct 2009 00:17:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 00:24:35 -0000 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