Advertisement
johma666

pda_update

Oct 30th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. -- PDA update
  2. --Update alle programma's
  3.  
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. print("Updating...")
  7. shell.run("delete _update") shell.run("pastebin get cHQu4Cku _update")
  8. shell.run('_update')
  9.  
  10. print("Done, rebooting...")
  11. os.sleep(1)
  12. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement