Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ID = os.getComputerID()
- local label = os.getComputerLabel()
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setTextColor(colors.green)
- term.setCursorPos(1, 1)
- term.write("0 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("150 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("236 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("427 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("575 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("582 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("667 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("668 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("726 KB OK")
- os.sleep(0.1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("800 KB OK")
- os.sleep(1)
- term.clear()
- term.setCursorPos(1, 1)
- term.write("RETROS BIOS version 4.02.08.00 52EE5.E7.E8")
- term.setCursorPos(1, 2)
- os.sleep(1)
- term.write("ID:")
- term.setCursorPos(4, 2)
- term.write(ID)
- term.setCursorPos(1, 3)
- term.write("Label:")
- term.setCursorPos(7, 3)
- term.write(label)
- os.sleep(1)
- if not fs.exists("RobcOS_ticket") then
- print("CONFIG NOT CREATED. RUNNING SETUP.")
- os.sleep(1)
- shell.run("setup")
- return
- end
- function loginCheck()
- term.setCursorPos(1, 5)
- term.write("Press Any Key to continue or CTRL for TERMLINK")
- local event, key = os.pullEvent("key")
- if key == keys.leftCtrl then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("termlink")
- else
- term.setCursorPos(6, 6)
- print("Starting RobcOS...")
- os.sleep(1)
- shell.run("login")
- end
- end
- loginCheck()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement