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)
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user