Advertisement
Marlingaming

System Startup Script

Oct 22nd, 2022
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. settings.load("System/Files/Settings.txt")
  2. if Settings.get("AllowStart") == false then
  3. os.shutdown()
  4. elseif Settings.get("NewUpdate") == true then
  5. shell.run("System/Programs/UpdateHandler.lua")
  6. else
  7. shell.run("System/Programs/BootRunner.lua")
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement