kiddin9 vor 4 Jahren
Ursprung
Commit
57bfc73680
2 geänderte Dateien mit 9 neuen und 8 gelöschten Zeilen
  1. 1 0
      devices/common/diy.sh
  2. 8 8
      devices/common/patches/turboacc.patch

+ 1 - 0
devices/common/diy.sh

@@ -13,6 +13,7 @@ svn export --force https://github.com/coolsnowwolf/lede/trunk/tools/upx tools/up
 svn export --force https://github.com/coolsnowwolf/lede/trunk/tools/ucl tools/ucl
 svn co https://github.com/immortalwrt/immortalwrt/branches/openwrt-21.02/target/linux/generic/hack-5.4 target/linux/generic/hack-5.4
 curl -L https://git.io/J0klM --create-dirs -o package/network/config/firewall/patches/fullconenat.patch
+curl -L https://raw.githubusercontent.com/coolsnowwolf/lede/master/target/linux/generic/hack-5.4/601-netfilter-export-udp_get_timeouts-function.patch -o target/linux/generic/hack-5.4/601-netfilter-export-udp_get_timeouts-function.patch
 ) &
 sed -i 's?zstd$?zstd ucl upx\n$(curdir)/upx/compile := $(curdir)/ucl/compile?g' tools/Makefile
 sed -i 's/\/cgi-bin\/\(luci\|cgi-\)/\/\1/g' `find package/feeds/custom/luci-*/ -name "*.lua" -or -name "*.htm*" -or -name "*.js"` &

+ 8 - 8
devices/common/patches/turboacc.patch

@@ -1,13 +1,13 @@
 --- a/package/feeds/custom/luci-app-turboacc/Makefile
 +++ b/package/feeds/custom/luci-app-turboacc/Makefile
-@@ -23,7 +23,6 @@ LUCI_PKGARCH:=all
- define Package/luci-app-turboacc/config
- config PACKAGE_TURBOACC_INCLUDE_OFFLOADING
+@@ -32,7 +32,6 @@ LUCI_DEPENDS:=+pdnsd-alt \
+ define Package/$(PKG_NAME)/config
+ config PACKAGE_$(PKG_NAME)_INCLUDE_OFFLOADING
  	bool "Include Flow Offload"
--	depends on PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE=n
- 	default y
+-	depends on (PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE=n && PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE_DRV=n)
+ 	default y if i386||x86_64||TARGET_ramips
  
- config PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE
+ config PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE_DRV
 
 --- a/package/feeds/custom/luci-app-turboacc/luasrc/model/cbi/turboacc.lua
 +++ b/package/feeds/custom/luci-app-turboacc/luasrc/model/cbi/turboacc.lua
@@ -38,8 +38,8 @@
 -
  return m
 
---- a/package/feeds/custom/luci-app-turboacc/luasrc/view/turboacc/status.htm
-+++ b/package/feeds/custom/luci-app-turboacc/luasrc/view/turboacc/status.htm
+--- a/package/feeds/custom/luci-app-turboacc/luasrc/view/turboacc/turboacc_status.htm
++++ b/package/feeds/custom/luci-app-turboacc/luasrc/view/turboacc/turboacc_status.htm
 @@ -4,7 +4,6 @@
  		<tr><td width="33%"><%:Flow Offloading%></td><td id="_fastpath_state"><em><%:Collecting data...%></em></td></tr>
  		<tr><td width="33%"><%:FullCone NAT%></td><td id="_fullconenat_state"><em><%:Collecting data...%></em></td></tr>