Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("clear")
- rednet.open("top")
- function boot()
- shell.run("shell")
- end
- function deboot()
- while true do
- id, message = rednet.receive()
- if message == "deboot" then
- shutdown()
- end
- end
- end
- parallel.waitForAny(deboot, boot)
Advertisement
Add Comment
Please, Sign In to add comment