19 lines
564 B
Plaintext
19 lines
564 B
Plaintext
// rocketOS bootstrapping sequence
|
|
|
|
// To maximize space, remove this file first thing. The in-memory copy
|
|
// will still run to completion, and it should only run once per vessel.
|
|
deletepath("/boot/rocket").
|
|
|
|
// Install software.
|
|
compile "0:/lib/navigation" to "1:/lib/".
|
|
compile "0:/lib/throttle" to "1:/lib/".
|
|
compile "0:/lib/stabilize_rocket" to "1:/lib/".
|
|
compile "0:/init/rocket" to "1:/init".
|
|
compile "0:/rocket/launch" to "1:/launch".
|
|
copypath("0:/rocket/execnode", "1:/execnode").
|
|
|
|
// Set OS to boot and restart.
|
|
set core:bootfilename to "/init".
|
|
|
|
reboot.
|