Advertisement
PrinceOfCookies

startup

Jan 25th, 2023 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.29 KB | Source Code | 0 0
  1. local tc = term.clear -- term Clear
  2. local tscp = term.setCursorPos -- term setCursorPos
  3. local tuSP = textutils.slowPrint -- Text Utils slowPrint
  4.  
  5. tc()
  6. tscp(1,1)
  7. shell.run("cp", "disk/install.lua", "install.lua")
  8. shell.run("cp", "disk/eject.lua", "eject.lua")
  9.  
  10. term.setTextColor(colors.red)
  11. print("! WARNING !")
  12. print("================")
  13. term.setTextColor(colors.white)
  14. print("Before installing on a computer, do the following.")
  15. print("type `edit disk/os/ios/.key` and set it to a 16 character key (MUST BE 16 CHARACTERS NO SPACES)")
  16. print("type `edit disk/os/.sfsecCheck` and change the default password of `124` to whatever you want")
  17. print("type `edit disk/os/.secCheck` and change the default password of 124 to whatever you want")
  18. print("type `edit disk/ios/.sendfile` and change RNKEY from `\"DEF_FORCERECEIVE\"` to a 16 character key (MUST BE 16 CHARACTERS NO SPACES")
  19. print("type `edit disk/ios/.getfile` and change RNKEY from `\"DEF_FORCERECEIVE\"` to the same 16 character key as in .sendfile")
  20. print("================")
  21. print("If you use networking make sure that the key in the `.key` file is the same on both computers")
  22. term.setTextColor(colors.red)
  23. print("================")
  24. term.setTextColor(colors.white)
  25. print("First time installation? Type `install` to begin. If not, type `eject`.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement