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
This commit is contained in:
Matthias Schiffer 2020-06-06 15:42:24 +02:00
parent 45b518df11
commit 600ab99f80
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 2 additions and 1 deletions

View File

@ -25,5 +25,5 @@ return function(form, uci)
end
end
return {'gluon', 'wireless'}
return {'gluon', 'network', 'wireless'}
end

View File

@ -181,6 +181,7 @@ end
function f:write()
uci:commit('gluon')
os.execute('/lib/gluon/upgrade/200-wireless')
uci:commit('network')
uci:commit('wireless')
end