Refactor bootstrapping sequence for a consistent experience.
This commit is contained in:
parent
826df45ff2
commit
f2f81cd838
5 changed files with 76 additions and 37 deletions
|
@ -1,9 +1,11 @@
|
|||
deletepath("/boot/helicopter").
|
||||
runoncepath("0:/lib/boot").
|
||||
|
||||
compile "0:/lib/stabilize_helicopter" to "1:/lib/stabilize_helicopter".
|
||||
compile "0:/init/helicopter" to "1:/init".
|
||||
parameter debug is false.
|
||||
|
||||
// Set OS to boot and restart.
|
||||
set core:bootfilename to "/init".
|
||||
|
||||
reboot.
|
||||
Bootstrap(
|
||||
"/boot/helicopter",
|
||||
"/init/helicopter",
|
||||
list("/lib/stabilize_helicopter"),
|
||||
list("/lib/ui"),
|
||||
debug
|
||||
).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue