Advertisement
StinchinStien

Untitled

Dec 21st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. local pastebinFilename = "DA3tGpL2"
  2. print("Getting Required Files From Pastebin...")
  3. sleep(0.5)
  4. print("Removing Current Startup Program...")
  5. write("Do You Wish To Continue y/n: ")
  6. input = read()
  7. if input ~= "y" then
  8. sleep(0.5)
  9. os.shutdown()
  10. end
  11. print("Selected Option Is YES")
  12. sleep(1)
  13. shell.run("rm", "startup")
  14. print("Removed Startup Program")
  15. shell.run("pastebin", "get", pastebinFilename, "startup")
  16. print("Done!")
  17. if pastebinFilename ~= "idacc3zv" then
  18. print("Update Available Or You Modified The Pastebin Files!")
  19. end
  20. sleep(2)
  21. temr.clear()
  22. term.setCursorPos(1, 1)
  23. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement