gluon-config-mode-outdoor: fix reference mess for real this time
This commit is contained in:
parent
718696e11d
commit
709c1b1b91
@ -13,8 +13,9 @@ return function(form, uci)
|
|||||||
.. "to comply with local frequency regulations."
|
.. "to comply with local frequency regulations."
|
||||||
))
|
))
|
||||||
|
|
||||||
|
local outdoor_mode = uci:get_bool('gluon', 'wireless', 'outdoor')
|
||||||
local outdoor = section:option(Flag, 'outdoor', pkg_i18n.translate("Node will be installed outdoors"))
|
local outdoor = section:option(Flag, 'outdoor', pkg_i18n.translate("Node will be installed outdoors"))
|
||||||
outdoor.default = uci:get_bool('gluon', 'wireless', 'outdoor')
|
outdoor.default = outdoor_mode
|
||||||
|
|
||||||
function outdoor:write(data)
|
function outdoor:write(data)
|
||||||
if data ~= outdoor_mode then
|
if data ~= outdoor_mode then
|
||||||
|
Loading…
Reference in New Issue
Block a user