gluon-config-mode-mesh-vpn: override Section:write() instead of Section:handle()
This commit is contained in:
parent
df9fa32d58
commit
16fab561db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user