kOS/boot/rocket.ks

20 lines
634 B
Plaintext
Raw Normal View History

// rocketOS bootstrapping sequence
2021-07-18 08:07:00 +00:00
// To maximize space, remove this file first thing. The in-memory copy
2021-07-19 22:29:39 +00:00
// will still run to completion, and it should only run once per vessel.
deletepath("/boot/rocket").
// Install software.
2021-08-02 01:34:19 +00:00
copypath("0:/lib/ui", "1:/lib/ui").
compile "0:/lib/navigation" to "1:/lib/navigation".
compile "0:/lib/throttle" to "1:/lib/throttle".
compile "0:/lib/stabilize_rocket" to "1:/lib/stabilize_rocket".
2021-08-01 21:53:09 +00:00
compile "0:/init/rocket" to "1:/init".
2021-07-23 20:04:26 +00:00
compile "0:/rocket/launch" to "1:/launch".
copypath("0:/rocket/execnode", "1:/execnode").
// Set OS to boot and restart.
2021-07-19 09:09:17 +00:00
set core:bootfilename to "/init".
reboot.