Boot process¶
Variables source¶
rc system use three sources by default:
- /etc/defaults/rc.conf
- /etc/rc.conf
- /etc/rc.conf.local
Since we need some dynamic bits, like auto-generated configs for services (wireless/dhcp/etc), we need to inject it between default and user defined, so:
- /etc/defaults/rc.conf
- /var/run/rc.conf
- /etc/rc.conf
- /etc/rc.conf.local
that will allow user to override any bits defined by automatic startup configuration system.
(Use /var/run/ to not store it on flash when /etc/rc.saveconfig is called)
Boot order¶
- /etc/rc.d/boardinfo
- /etc/rc.d/ADAPTATION
- /etc/rc.d/MAIN
- todo