kitsune-space-program-kerbo.../boot/tagBoot.ks

19 lines
515 B
Plaintext

// Idea from JonnyOThan#0171
// On the kOS discord.
WAIT UNTIL ship:unpacked.
CLEARSCREEN.
// This line from CheersKevin on youtube
core:part:getmodule("kOSProcessor"):doevent("Open Terminal"). // Open the terminal on boot!
PRINT "Using TagBoot ver 1.0".
WAIT 5.
PRINT "Booting with tag " + core:part:tag + "...".
WAIT 5.
// reddit says the path cant be fully qualified (no 0:/)
COPYPATH("0:/" + core:part:tag + "/boot.ks", "1:/boot/boot.ks").
set core:bootfilename to "/boot/boot.ks".
reboot. // Reboot the FC