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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment