Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --this script runs all necessery startup programs, then runs the Boot Program
- local w, h = term.getSize()
- term.clear()
- term.setCursorPos(1,1)
- settings.load("os/os_SystemFiles/Settings/.os_settings")
- local function BootPrograms()
- local BootApps = {settings.get("Boot_Files")}
- for i = 1, #BootApps do
- shell.run(BootApps[i])
- end
- term.clear()
- term.setCursorPos(1,(h/2-1))
- print("Boot Completed")
- print("starting Os")
- shell.run(settings.get("Os_StartProgram"))
- end
- BootPrograms()
Add Comment
Please, Sign In to add comment