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

gluon-config-mode-mesh-vpn: override Section:write() instead of Section:handle()

parent df9fa32d
No related branches found
No related tags found
No related merge requests found
...@@ -58,8 +58,7 @@ return function(form, uci) ...@@ -58,8 +58,7 @@ return function(form, uci)
uci:set("gluon", "mesh_vpn", "limit_egress", data * 1000) uci:set("gluon", "mesh_vpn", "limit_egress", data * 1000)
end end
function s:handle() function s:write()
Section.handle(s)
uci:save('gluon') uci:save('gluon')
os.execute('exec /lib/gluon/mesh-vpn/update-config') os.execute('exec /lib/gluon/mesh-vpn/update-config')
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