gluon-core: explicitly disable radios without configuration in site.conf
This commit is contained in:
parent
293a45456b
commit
3df9fcecb0
@ -136,6 +136,7 @@ end
|
|||||||
|
|
||||||
local function configure_radio(radio, index, config)
|
local function configure_radio(radio, index, config)
|
||||||
if not config() then
|
if not config() then
|
||||||
|
uci:set('wireless', radio, 'disabled', true)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user