From owner-cvs-all Thu Mar 7 21:15:14 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9485A37B416; Thu, 7 Mar 2002 21:15:08 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g285F8D17377; Thu, 7 Mar 2002 21:15:08 -0800 (PST) (envelope-from luigi) Message-Id: <200203080515.g285F8D17377@freefall.freebsd.org> From: Luigi Rizzo Date: Thu, 7 Mar 2002 21:15:08 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/picobsd/floppy.tree/etc networks rc rc.conf rc.conf.defaults rc.firewall rc1 src/release/picobsd/mfs_tree/etc rc rc.network X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG luigi 2002/03/07 21:15:08 PST Modified files: release/picobsd/floppy.tree/etc networks rc.conf rc.firewall release/picobsd/mfs_tree/etc rc rc.network Added files: release/picobsd/floppy.tree/etc rc.conf.defaults rc1 Removed files: release/picobsd/floppy.tree/etc rc Log: Major cleanup of PicoBSD startup scripts, which now should be closer to doing "the right thing". The structure is now the following: * /etc/rc (from MFS) loads the rest of /etc and /root from /fd and then from floppy (if present), then transfers control to /etc/rc1 * /etc/rc1 loads defaults from /etc/rc.conf.defaults, tries to set the hostname basing on the MAC address of the first ethernet interface, and then sources /etc/rc.conf and /etc/rc.conf.local for local configurations * The rest of the startup process is then performed (rc.network and so on). Everything except the initial /etc/rc (from MFS) can be overridden with a local version loaded from floppy. But in most cases, you should only need to customize the following files in /etc: rc.conf rc.firewall hosts Previously there were a number of inconsistencies in the calling between files, and also a lot of clutter in rc.conf and rc.firewall. Also, "rc1" was called "rc" and would overwrite the initial /etc/rc from MFS, making it really hard to figure out what was going on in case of bugs. Revision Changes Path 1.3 +1 -1 src/release/picobsd/floppy.tree/etc/networks 1.6 +0 -69 src/release/picobsd/floppy.tree/etc/rc (dead) 1.11 +7 -153 src/release/picobsd/floppy.tree/etc/rc.conf 1.1 +177 -0 src/release/picobsd/floppy.tree/etc/rc.conf.defaults (new) 1.3 +32 -62 src/release/picobsd/floppy.tree/etc/rc.firewall 1.1 +52 -0 src/release/picobsd/floppy.tree/etc/rc1 (new) 1.6 +8 -20 src/release/picobsd/mfs_tree/etc/rc 1.3 +46 -42 src/release/picobsd/mfs_tree/etc/rc.network To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message