Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modem = peripheral.wrap("bottom")
- wireless = peripheral.wrap("back")
- monitor = peripheral.wrap("top")
- reactorID = 52
- term.redirect(monitor)
- print("Starting up...")
- rednet.open("back")
- rednet.host("ReactorWireless", "PrimaryComputer")
- print("Checking wireless...")
- sleep(1)
- if rednet.lookup("ReactorWireless", "ReactorComputer") == reactorID
- then print("OK")
- else print("Connection to reactor computer not found, ensure that it has booted, and then restart this system. This computer will shutdown in 5 seconds...")
- sleep(5)
- os.shutdown()
- end
- shell.openTab("OnOff")
- print("All done.")
- sleep(3)
- term.clear()
Add Comment
Please, Sign In to add comment