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)
uci:set("gluon", "mesh_vpn", "limit_egress", data * 1000)
end
function s:handle()
Section.handle(s)
function s:write()
uci:save('gluon')
os.execute('exec /lib/gluon/mesh-vpn/update-config')
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