From 93ef6013ec7a3bf4ca24ed1638d8e3cd702c2bec Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 26 Dec 2024 18:22:19 +0100 Subject: [PATCH 1/2] Fix luci MPTCP app --- luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js b/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js index ba5b41caa..9ad55e0da 100644 --- a/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js +++ b/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js @@ -66,7 +66,7 @@ return L.view.extend({ o.value("ecf", "ECF"); } - if (parseFloat(boardinfo.kernel.substring(0,3)) >= "6.6") { + if (parseFloat(boardinfo.kernel.substring(0,3)) > 6) { o.load = function(section_id) { return L.resolveDefault(fs.list('/usr/share/bpf/scheduler'), []).then(L.bind(function(entries) { for (var i = 0; i < entries.length; i++) From 3406c9d66144a95d42cd5bbe91a06447ac2a4161 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 27 Dec 2024 10:54:31 +0100 Subject: [PATCH 2/2] Restart omr-bypass on reload --- omr-bypass/files/etc/init.d/omr-bypass-nft | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omr-bypass/files/etc/init.d/omr-bypass-nft b/omr-bypass/files/etc/init.d/omr-bypass-nft index d9e8969ae..ec71b9e0c 100755 --- a/omr-bypass/files/etc/init.d/omr-bypass-nft +++ b/omr-bypass/files/etc/init.d/omr-bypass-nft @@ -1029,12 +1029,12 @@ service_triggers() { } reload_service() { - RELOAD=1 + #RELOAD=1 stop start } restart_service() { - RELOAD=1 + #RELOAD=1 stop start }