From owner-cvs-all@FreeBSD.ORG Sat Jan 26 11:22:12 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73D1216A417; Sat, 26 Jan 2008 11:22:12 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 66EE213C442; Sat, 26 Jan 2008 11:22:12 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0QBMCmV074436; Sat, 26 Jan 2008 11:22:12 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0QBMClS074435; Sat, 26 Jan 2008 11:22:12 GMT (envelope-from mtm) Message-Id: <200801261122.m0QBMClS074435@repoman.freebsd.org> From: Mike Makonnen Date: Sat, 26 Jan 2008 11:22:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc rc rc.subr src/etc/rc.d netif X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 11:22:12 -0000 mtm 2008-01-26 11:22:12 UTC FreeBSD src repository Modified files: etc rc rc.subr etc/rc.d netif Log: 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. Revision Changes Path 1.341 +1 -1 src/etc/rc 1.25 +1 -1 src/etc/rc.d/netif 1.80 +16 -1 src/etc/rc.subr