From owner-cvs-all@FreeBSD.ORG Sat Dec 10 20:21:47 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0170916A41F; Sat, 10 Dec 2005 20:21:47 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91B9643D49; Sat, 10 Dec 2005 20:21:46 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBAKLk7p038488; Sat, 10 Dec 2005 20:21:46 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBAKLk0v038487; Sat, 10 Dec 2005 20:21:46 GMT (envelope-from dougb) Message-Id: <200512102021.jBAKLk0v038487@repoman.freebsd.org> From: Doug Barton Date: Sat, 10 Dec 2005 20:21:46 +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 src/etc/defaults rc.conf src/etc/rc.d devfs dumpon initrandom rcconf.sh resolv src/share/man/man5 rc.conf.5 src/share/man/man8 diskless.8 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, 10 Dec 2005 20:21:47 -0000 dougb 2005-12-10 20:21:46 UTC FreeBSD src repository Modified files: etc rc etc/defaults rc.conf etc/rc.d devfs dumpon initrandom resolv share/man/man5 rc.conf.5 share/man/man8 diskless.8 Removed files: etc/rc.d rcconf.sh Log: Remove rcconf.sh from /etc/rc.d, and instead load the configuration as part of rc. Doing this, and the sourcing of rc.subr after we have determined if we are booting diskless (and correspondingly run rc.initdiskless if necessary) are safe, and actually allow fewer files to be needed on the diskless box. This also allows variables from the configuration to be available to rc itself, such as ... Add a variable to rc.conf, early_late_divider, which designates the script which separates the early and late stages of the boot process. Default this to mountcritlocal, and add text to etc/defaults/rc.conf, rc.conf(5) and diskless(8) which describes how and why one might want to change this. Reviewed by: brooks Revision Changes Path 1.266 +5 -0 src/etc/defaults/rc.conf 1.338 +11 -9 src/etc/rc 1.11 +1 -1 src/etc/rc.d/devfs 1.11 +0 -1 src/etc/rc.d/dumpon 1.6 +0 -1 src/etc/rc.d/initrandom 1.5 +0 -12 src/etc/rc.d/rcconf.sh (dead) 1.36 +0 -1 src/etc/rc.d/resolv 1.272 +28 -1 src/share/man/man5/rc.conf.5 1.29 +13 -1 src/share/man/man8/diskless.8