Skip to content
Snippets Groups Projects
Unverified Commit 600ab99f authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

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
parent 45b518df
No related branches found
No related tags found
No related merge requests found
...@@ -25,5 +25,5 @@ return function(form, uci) ...@@ -25,5 +25,5 @@ return function(form, uci)
end end
end end
return {'gluon', 'wireless'} return {'gluon', 'network', 'wireless'}
end end
...@@ -181,6 +181,7 @@ end ...@@ -181,6 +181,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment