Skip to content

Commit

Permalink
gluon-config-mode-outdoor, gluon-web-wifi-config: commit network config
Browse files Browse the repository at this point in the history
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 600ab99)
  • Loading branch information
neocturne committed Jun 7, 2020
1 parent 2e1abda commit 69badbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ return function(form, uci)
end
end

return {'gluon', 'wireless'}
return {'gluon', 'network', 'wireless'}
end
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ end
function f:write()
uci:commit('gluon')
os.execute('/lib/gluon/upgrade/200-wireless')
uci:commit('network')
uci:commit('wireless')
end

Expand Down

0 comments on commit 69badbc

Please sign in to comment.