From 1c661dbeb9f0aa0090c57496b00f3be26ac09f00 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 24 Jun 2026 03:31:21 +0800 Subject: [PATCH] Update luci-base.patch --- .github/diy/patches/luci-base.patch | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/diy/patches/luci-base.patch b/.github/diy/patches/luci-base.patch index 63edf826c..4d41414e7 100644 --- a/.github/diy/patches/luci-base.patch +++ b/.github/diy/patches/luci-base.patch @@ -12,26 +12,6 @@ include $(TOPDIR)/feeds/luci/luci.mk ---- a/luci-base/root/usr/share/rpcd/ucode/luci -+++ b/luci-base/root/usr/share/rpcd/ucode/luci -@@ -228,6 +228,7 @@ const methods = { - - getFeatures: { - call: function() { -+ const kernel_version = popen('echo -n `uname -r`').read('all'); - const has_fw3 = access('/sbin/fw3') == true; - const has_fw4 = access('/sbin/fw4') == true; - const has_ipt_flowoffload = access('/sys/module/xt_FLOWOFFLOAD/refcnt') == true; -@@ -248,7 +249,7 @@ const methods = { - mii_tool: access('/usr/sbin/mii-tool'), - offloading: (has_fw3 && has_ipt_flowoffload) || (has_fw4 && has_nft_flowoffload), - offloading_hw: has_hw_offloading, -- fullcone: access('/sys/module/xt_FULLCONENAT/refcnt') == true || access('/sys/module/nft_fullcone/refcnt') == true, -+ fullcone: access(`/lib/modules/${kernel_version}/xt_FULLCONENAT.ko`) == true || access(`/lib/modules/${kernel_version}/nft_fullcone.ko`) == true, - br2684ctl: access('/usr/sbin/br2684ctl') == true, - swconfig: access('/sbin/swconfig') == true, - zram: access('/sys/class/zram-control') == true, - --- a/luci-base/htdocs/luci-static/resources/network.js +++ b/luci-base/htdocs/luci-static/resources/network.js @@ -4376,4 +4376,10 @@ WifiNetwork = baseclass.extend(/** @lends LuCI.network.WifiNetwork.prototype */