Date: Thu, 7 Mar 2002 21:15:08 -0800 (PST) From: Luigi Rizzo <luigi@FreeBSD.org> 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 Message-ID: <200203080515.g285F8D17377@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203080515.g285F8D17377>