Advertisement
postrach

installerblank

Feb 4th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(16,4)
  3. term.setTextColor(colors.lime)
  4. print("Redricker installer")
  5. term.setCursorPos(4,7)
  6. term.setTextColor(colors.lightBlue)
  7. print("Press Enter to Install the Redricker program")
  8. term.setCursorPos(3,8)
  9. term.setTextColor(colors.red)
  10. print("(delete existing programs)")
  11. term.setCursorPos(100,100)
  12. read()
  13. term.setCursorPos(10,10)
  14. term.setTextColor(colors.lime)
  15. print("installing Redricker")
  16.  
  17. if fs.exists("startup") then
  18. fs.delete("startup")
  19. end
  20.  
  21. term.setCursorPos(1,12)
  22. shell.run("pastebin get xxxxx startup")
  23.  
  24. term.setTextColor(colors.lightBlue)
  25. term.setCursorPos(16,18)
  26. print("Rebooting")
  27. term.setCursorPos(26,18)
  28. textutils.slowWrite(".........", 2)
  29.  
  30. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement