1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add SQM on omrvpn interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-02-05 22:02:07 +01:00
parent b8b7cca346
commit c9947bad3e

View file

@ -308,8 +308,11 @@ function wizard_add()
end
if vpn_intf ~= "" then
ucic:set("network","omrvpn","ifname",vpn_intf)
ucic:set("sqm","omrvpn","interface",vpn_intf)
ucic:save("network")
ucic:commit("network")
ucic:save("sqm")
ucic:commit("sqm")
end
-- Retrieve all server settings