https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512013-02-10T21:46:15ZGraphics Muse Issue TrackerPiBox - Feature #157: Disable network connection during firstboothttps://redmine.graphics-muse.org/issues/157?journal_id=5052013-02-10T21:46:15ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Severity</strong> changed from <i>Medium</i> to <i>03 - Medium</i></li></ul> PiBox - Feature #157: Disable network connection during firstboothttps://redmine.graphics-muse.org/issues/157?journal_id=5102013-02-12T16:33:40ZHammelmjhammel@graphics-muse.org
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>30</i></li></ul><p>The way to handle this is thus:</p>
<ol>
<li>Have S11firstboot check for existance of /etc/firstboot.complete. If not found, run firstboot</li>
<li>Have all init scripts after S11firstboot check for existance of /etc/firstboot. If found, do nothing.</li>
<li>Add S99firstbootcomplete to check for existance of /etc/firstboot. If found, remove it, then create /etc/firstboot.complete.</li>
</ol>
<p>Intermediate init scripts between S11 and S99 can do special things on firstboot if necessary.</p>
<p>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.</p> PiBox - Feature #157: Disable network connection during firstboothttps://redmine.graphics-muse.org/issues/157?journal_id=5142013-02-13T01:22:22ZHammelmjhammel@graphics-muse.org
<ul></ul><p>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.</p> PiBox - Feature #157: Disable network connection during firstboothttps://redmine.graphics-muse.org/issues/157?journal_id=5152013-02-13T03:35:47ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>30</i> to <i>100</i></li></ul><p>Added support for not running init scripts during firstboot to speed boot process.</p>