eytixis

FlashBios (Opencomputers mod)

Sep 18th, 2020 (edited)
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. local shell = require("shell")
  2. local term = require("term")
  3. local component = require("component")
  4.  
  5. local filesystem = require("filesystem")
  6. if not filesystem.exists("//eytixis/files") then
  7.     shell.execute("mkdir //eytixis/files")
  8. end
  9. if not (filesystem.exists("//eytixis/files/bios.lua")) then
  10.     print("Downloading Bios file from Pastebin!")
  11.     shell.execute("pastebin get rf4bGMtU //eytixis/files/bios.lua")
  12. end
  13.  
  14. shell.execute("flash -q //eytixis/files/bios.lua 'Bios'")
  15. print("Bios Flashed!")
Add Comment
Please, Sign In to add comment