Advertisement
daandecomputer

Untitled

Nov 8th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. term.clear()
  2. term.setBackgroundColor(colors.brown)
  3. print("installation")
  4. textutils.slowPrint("daantech computercraft",10)
  5. textutils.slowPrint("deleting old files...",10)
  6. fs.delete("startup")
  7. for _,file in ipairs(fs.list("/")) do
  8. if not fs.isReadOnly(file) then
  9. fs.delete(file)
  10. end
  11. end
  12. sleep(1)
  13. term.clear()
  14. print("installing...")
  15. sleep(1)
  16. term.clear()
  17. print("startup")
  18. shell.run("pastebin","get","GG9a4pCg","startup")
  19. sleep(1)
  20. term.clear()
  21. print("rebooting....")
  22. sleep(1)
  23. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement