gluon-config-mode-outdoor, gluon-web-wifi-config: commit network config
200-wireless will add or remove the mesh network sections of
/etc/config/network. Commit this file, so the modified setting doesn't
get lost on reboot.
Fixes: #2048
(cherry picked from commit 600ab99f80
)
This commit is contained in:
parent
a346b8f8f8
commit
5a17b81999
@ -25,5 +25,5 @@ return function(form, uci)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return {'gluon', 'wireless'}
|
return {'gluon', 'network', 'wireless'}
|
||||||
end
|
end
|
||||||
|
@ -157,6 +157,7 @@ end
|
|||||||
function f:write()
|
function f:write()
|
||||||
uci:commit('gluon')
|
uci:commit('gluon')
|
||||||
os.execute('/lib/gluon/upgrade/200-wireless')
|
os.execute('/lib/gluon/upgrade/200-wireless')
|
||||||
|
uci:commit('network')
|
||||||
uci:commit('wireless')
|
uci:commit('wireless')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user