Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Loading NetREPAIR...")
- os.sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Welcome to NetREPAIR|")
- print("--------------------+")
- print("")
- print("(R)epair (E)xit")
- fnc = read()
- if fnc == "E" or fnc == "e" then
- os.shutdown()
- elseif fnc == "R" or fnc == "r" then
- term.clear()
- term.setCursorPos(1,1)
- print("Confirm Repair |")
- print("--------------------+")
- print("")
- print("(R)epair (E)xit")
- fnc = read()
- if fnc == "E" or fnc == "e" then
- os.shutdown()
- elseif fnc == "R" or fnc == "r" then
- term.clear()
- term.setCursorPos(1,1)
- print("Starting Repair")
- print("Deleting startup...")
- fs.delete("startup")
- print("Done!")
- print("Press any key to reboot...")
- read()
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement