forked from Freifunk-Leipzig/gluon-firmware
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)
|
||||
if not config() then
|
||||
uci:set('wireless', radio, 'disabled', true)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue