mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 19:23:32 +00:00
107a6eaf0a
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.
6 lines
178 B
Plaintext
6 lines
178 B
Plaintext
# Sample networks file. Picobsd scripts will look for entries of the form
|
|
# hostname-netmask 255.255.255.0
|
|
# when searching for masks
|
|
vm-netmask 255.255.255.0
|
|
|