transition to kernel

This commit is contained in:
kepler155c@gmail.com 2018-01-21 06:09:25 -05:00
parent 438e35688b
commit e6ed08315e
2 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Event.on('device_detach', function()
end
end)
os.queueEvent('network_up')
Event.pullEvents()
for _,c in pairs(network) do

View File

@ -1,4 +1,5 @@
local kernel = _G.kernel
local os = _G.os
_G.network = { }
@ -18,5 +19,6 @@ end)
if _G.device.wireless_modem then
startNetwork()
os.pullEvent('network_up')
end