mypal125

brom/bios

May 21st, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. -- Clearing CraftOS/TurtleOS boot text
  2. term.clear()
  3. -- POST screen
  4. print("Celect BIOS")
  5. print("Press any key in 5 seconds to enter settings -- BROKEN --")
  6.  
  7. function listen()
  8.   os.pullEvent("key")
  9.   shell.run("/brom/pset")
  10.   os.reboot()
  11. end
  12.  
  13. function wait()
  14.   sleep(5)
  15.   shell.run("/bsec")
  16.   os.shutdown()
  17. end
  18.  
  19. --parallel.waitForAny(listen, wait)
  20. wait()
Advertisement
Add Comment
Please, Sign In to add comment