Feature #157
closedDisable network connection during firstboot
100%
Description
Firstboot does initial setup that doesn't need network connectivity. Trying to connect to the network just slows firstboot.
Updated by Hammel almost 12 years ago
- Severity changed from Medium to 03 - Medium
Updated by Hammel almost 12 years ago
- % Done changed from 0 to 30
The way to handle this is thus:
- Have S11firstboot check for existance of /etc/firstboot.complete. If not found, run firstboot
- Have all init scripts after S11firstboot check for existance of /etc/firstboot. If found, do nothing.
- Add S99firstbootcomplete to check for existance of /etc/firstboot. If found, remove it, then create /etc/firstboot.complete.
Intermediate init scripts between S11 and S99 can do special things on firstboot if necessary.
This code is implemented in my sandbox but requires me to be at the console to test them, which I'm not at the moment.
Updated by Hammel almost 12 years ago
These didn't quite work, plus there are a bunch of init scripts from Buildroot/busybox that need to include the firstboot test too. So I've created a pibox.functions to do the test and all the scripts will need to be copied into the skeleton tree and reference the functions, run the test and return if it passes.
Updated by Hammel almost 12 years ago
- Status changed from New to Closed
- % Done changed from 30 to 100
Added support for not running init scripts during firstboot to speed boot process.