gluon-core: explicitly disable radios without configuration in site.conf

This commit is contained in:
Matthias Schiffer 2017-08-08 14:08:35 +02:00
parent 293a45456b
commit 3df9fcecb0
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -136,6 +136,7 @@ end
local function configure_radio(radio, index, config)
if not config() then
uci:set('wireless', radio, 'disabled', true)
return
end