Advertisement
AlexCatze2005

racoonnet_indev

Feb 25th, 2021 (edited)
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.16 KB | None | 0 0
  1. local shell = require("shell")
  2. local fs = require("filesystem")
  3. local computer = require("computer")
  4. local prefix = "https://raw.githubusercontent.com/AlexCatze/RacoonNet/indev"
  5. local files = {"/bin/chat.lua","/bin/chat_server.lua","/bin/ping.lua","/bin/rnconfig.lua","/bin/routconf.lua","/bin/router.lua","/bin/webserver.lua","/bin/wr.lua","/etc/config/sys.cfg","/etc/lang/ru.router.lang","/lib/opennet.lua","/lib/racoonnet.lua","/lib/rn_modem.lua","/lib/rn_stem.lua","/lib/rn_tunnel.lua",}
  6.  
  7. shell.execute("wget -f https://pastebin.com/raw/iKzRve2g /lib/forms.lua")
  8. shell.execute("wget -f https://pastebin.com/raw/C5aBuY5e /lib/rainbow.lua")
  9. shell.execute("wget -f https://pastebin.com/raw/nt0j4iXU /lib/stem.lua")
  10. shell.execute("wget -f https://pastebin.com/raw/e5uEpxpZ /lib/sysutils.lua")
  11. shell.execute("wget -f https://pastebin.com/raw/WBH19bBg /boot/05_config.lua")
  12. fs.makeDirectory("/etc/themes/")
  13. shell.execute("wget -f https://pastebin.com/raw/00XsAdhf /etc/themes/standart.thm")
  14.  
  15. for _,v in pairs(files) do
  16.   if not fs.exists(v:match(".*/")) then fs.makeDirectory(v:match(".*/")) end
  17.   shell.execute("wget -f "..prefix..v.." "..v)
  18. end
  19.  
  20. computer.shutdown(true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement