From 1f043dcfd02e39594e352580de51cbfc402d9029 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 15 Apr 2024 09:24:03 +0200 Subject: [PATCH] Restart omr-bypass on wizard changes --- luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua index 0303e6ed9c..05f0a4ba65 100644 --- a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua +++ b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua @@ -1264,6 +1264,7 @@ function wizard_add() luci.sys.call("/etc/init.d/v2ray restart >/dev/null 2>/dev/null") luci.sys.call("/etc/init.d/xray restart >/dev/null 2>/dev/null") luci.sys.call("/etc/init.d/sqm restart >/dev/null 2>/dev/null") + luci.sys.call("/etc/init.d/omr-bypass restart >/dev/null 2>/dev/null") luci.sys.call("/etc/init.d/sqm-autorate restart >/dev/null 2>/dev/null") luci.sys.call("/etc/init.d/sysntpd restart >/dev/null 2>/dev/null") luci.http.redirect(luci.dispatcher.build_url("admin/system/" .. menuentry:lower() .. "/status"))