transition to kernel
This commit is contained in:
@@ -28,6 +28,7 @@ Event.on('device_detach', function()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
os.queueEvent('network_up')
|
||||||
Event.pullEvents()
|
Event.pullEvents()
|
||||||
|
|
||||||
for _,c in pairs(network) do
|
for _,c in pairs(network) do
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
local kernel = _G.kernel
|
local kernel = _G.kernel
|
||||||
|
local os = _G.os
|
||||||
|
|
||||||
_G.network = { }
|
_G.network = { }
|
||||||
|
|
||||||
@@ -18,5 +19,6 @@ end)
|
|||||||
|
|
||||||
if _G.device.wireless_modem then
|
if _G.device.wireless_modem then
|
||||||
startNetwork()
|
startNetwork()
|
||||||
|
os.pullEvent('network_up')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user