Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function loadAPI()
- local List = fs.list("API")
- for i = 1, #List do
- os.loadApi(fs.combine("API",List[i]),List[i])
- end
- end
- local function SystemInt()
- local file = fs.open("StartInt_files.txt","r")
- local StartInt = textutils.unserialize(file.readAll())
- file.close()
- for i = 1, #StartInt do
- if fs.exists(StartInt[i]) then print(StartInt[i].." found ("..i.."/"..#StartInt..")") else print(StartInt[i].." not found, stopping boot") os.sleep(2) os.shutdown() end
- end
- end
- SystemInt()
- loadAPI()
- shell.run("updatehandler.lua")
- shell.run("System1.lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement