bits-UI/startup.lua
2020-06-16 15:09:43 -04:00

10 lines
241 B
Lua

if fs.exists("/boot/ccboot/boot.lua") then
shell.run("boot/ccboot/boot.lua");
else
term.clear()
term.setCursorPos(1,1)
term.setTextColor(colors.red)
print("CCBoot doesn't exist halting...")
sleep(2)
os.shutdown()
end