mirror of
https://github.com/kepler155c/opus
synced 2025-10-15 07:47:40 +00:00
wizard - modem fixes
This commit is contained in:
@@ -30,7 +30,7 @@ end
|
||||
-- create a psuedo-device named 'wireleess_modem'
|
||||
kernel.hook('device_attach', function(_, eventData)
|
||||
local dev = device[eventData[1]]
|
||||
if dev.type == 'modem' then
|
||||
if dev and dev.type == 'modem' then
|
||||
if setModem(dev) then
|
||||
startNetwork()
|
||||
end
|
||||
|
Reference in New Issue
Block a user