FreeBSD keeps its default configs in /etc/defaults, and you can create .conf files in /etc to override those defaults. For instance, there's nothing in my /etc/defaults/rc.conf to configure my Ethernet card, so in /etc/rc.conf, I have
ifconfig_ed0="DHCP"
If I understand the mechanism rightly, a kernel build will create new /etc/default/*.conf's, so the way to preserve your own settings is through the default override files, normally in /etc/*.conf
Regards |