Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Variables
- OSMaker = "DubbelINC"
- OSName = "BlueNet"
- version = "1.1"
- --Functions
- startupfile = function()
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.blue)
- print(""..OSName.." "..version.." ")
- term.setCursorPos(47,1)
- term.setTextColor(colors.yellow)
- sleep(00.4)
- print("ID: "..computerid.."")
- term.setCursorPos(46,2)
- print("64 Bit")
- term.setCursorPos(1,2)
- term.setTextColor(colors.red)
- print(" Programs: ")
- term.setTextColor(colors.lime)
- sleep(00.3)
- term.setCursorPos(1,3)
- shell.run("programs")
- sleep(00.3)
- term.setCursorPos(15,16)
- term.setTextColor(colors.blue)
- print("Loading options...")
- sleep(2)
- biosmenu()
- end
- biosmenu = function()
- term.setBackgroundColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.blue)
- print(""..OSName.." "..version.."")
- print()
- print()
- print("[R] Run "..OSName.."")
- print("[U] Update")
- print("[I] Uninstall")
- local event, key = os.pullEvent("key")
- if key == keys.r then
- shell.run("BlueNet/loading")
- end
- if key == keys.u then
- shell.run("BlueNet/update")
- end
- if key == keys.i then
- shell.run("BlueNet/uninstall")
- else
- biosmenu()
- end
- end
- --Loading
- computerid = os.getComputerID()
- --Startup
- startupfile()
Advertisement
Add Comment
Please, Sign In to add comment