Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not pocket then
- if not fs.exists("clear")
- then
- shell.run("copy disk/phone/progCL clear")
- end
- end
- local oldPullEvent = os.pullEvent
- os.pullEvent = os.pullEventRaw
- if pocket then
- shell.run("cd phone")
- -- Check for updates
- shell.run("clear")
- shell.run("pastebin run pwPUAUfw")
- if NewestVer == Ver then
- shell.run("info")
- else
- shell.run("Update")
- end
- -- end of check
- else
- shell.run("cd disk/phone")
- -- Check for updates
- shell.run("clear")
- shell.run("pastebin run pwPUAUfw")
- if NewestVer == Ver then
- shell.run("info")
- else
- shell.run("Update")
- end
- -- end of check
- shell.run("info")
- end
- if user == "" and pass == "" then
- term.write("never seen")
- shell.run("clear")
- term.setCursorPos(1,4)
- os.pullEvent = oldPullEvent
- else
- term.clear()
- term.setCursorPos(1,1)
- term.write("Username:")
- input = read()
- if input == user then
- term.setCursorPos(1,2)
- term.write("Enter pin:")
- input2 = read("*")
- if input2 == pass or input2 == devpass then
- term.write("never seen")
- shell.run("clear")
- term.setCursorPos(1,4)
- os.pullEvent = oldPullEvent
- else
- os.reboot()
- end
- else
- os.reboot()
- end
- end
Add Comment
Please, Sign In to add comment