Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- print("Welcome to the MinerOS Setup. Do you want to continue? y = Yes, n = No.")
- local continue = read(*)
- if continue == "y"
- {
- print("Please wait...")
- local file fs.open("almost", "w")
- file.writeLine("shell.run('pastebin get bkrUKq5T setup')")
- file.close()
- shell.run("reboot")
- }
- if continue == "n"
- {
- exit()
- }
- else
- {
- print("Unknown response, try again.")
- shell.run("reboot")
- }
Advertisement
Add Comment
Please, Sign In to add comment