mirror of
https://github.com/kepler155c/opus
synced 2025-08-02 20:13:46 +00:00
transition to kernel
This commit is contained in:
parent
438e35688b
commit
e6ed08315e
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user