eytixis

Transfer Program Installation (opencomputers mod - OpenOS)

Sep 10th, 2020 (edited)
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. local shell = require("shell")
  2. local term = require("term")
  3. local component = require("component")
  4.  
  5. if (component.internet == nil) then
  6.     print("No Internet Card Found!")
  7.     print("Please install one and try again!")
  8. else
  9.     term.clear()
  10.     term.setCursor(1,1)
  11.     print("Downloading Transfer Program from Pastebin!")
  12.     shell.execute("pastebin get wzpHEiyT //bin/transfer.lua")
  13.     print("Downloading Remote File Transfer Protocol Library from Pastebin!")
  14.     shell.execute("pastebin get AaSLzhwh //lib/rftp.lua")
  15.     print("Installation Complete!")
  16.     print("A system reboot is recommended!")
  17. end
Add Comment
Please, Sign In to add comment