Advertisement
Rusettsten

DanetOS-MainServer-Build

Nov 29th, 2020 (edited)
617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. --This program installs the DanetOS3 Files needed for the MainServer
  2.  
  3. print("Starting DanetOS3 MainServer Build Process...")
  4.  
  5. --Go to the default directory
  6. shell.run("cd /")
  7.  
  8. --Make sure there's a danetos3 directory
  9. shell.run("mkdir danetos3")
  10.  
  11. --delete all files
  12. print("Deleting Files...")
  13. shell.run("delete startup.lua")
  14. shell.run("delete danetos3/DanetOS-MainServer.lua")
  15.  
  16. --replace files with pastebin ones
  17. print("Getting pastebin files...")
  18. shell.run("pastebin get ri1wCt8i startup.lua")
  19. shell.run("pastebin get 0qUeVc93 danetos3/DanetOS-MainServer.lua")
  20.  
  21. --Reboot
  22. print("Reboot!")
  23. shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement