PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
2 sec ago
Untitled
3 sec ago
Contents of Book
9 sec ago
remote mac finder
Python | 19 sec ago
Untitled
21 sec ago
Untitled
24 sec ago
Untitled
24 sec ago
Untitled
26 sec ago
Untitled
By:
xXm0dzXx
on
May 21st, 2012
| syntax:
None
| size: 0.25 KB | hits: 24 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
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)
create a
new version
of this paste
RAW Paste Data
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)