v2.4.0 - Added a /special/ folder with files for interacting with unmanaged drives and EEPROMs.
This commit is contained in:
@@ -39,10 +39,15 @@ if not result then
|
||||
gpu.set(2,i,line)
|
||||
i = i + 1
|
||||
end
|
||||
gpu.set(2,i+1, "Press any key to restart.")
|
||||
local evname
|
||||
repeat
|
||||
evname = computer.pullSignal()
|
||||
until evname == "key_down"
|
||||
computer.shutdown(true)
|
||||
if computer~=nil then
|
||||
gpu.set(2,i+1, "Press any key to restart.")
|
||||
local evname
|
||||
repeat
|
||||
evname = computer.pullSignal()
|
||||
until evname == "key_down"
|
||||
computer.shutdown(true)
|
||||
end
|
||||
while true do
|
||||
coroutine.yield()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user