diff --git a/.github/diy/patches/luci-app-passwall2.patch b/.github/diy/patches/luci-app-passwall2.patch index f27bd929..ace0c1e0 100644 --- a/.github/diy/patches/luci-app-passwall2.patch +++ b/.github/diy/patches/luci-app-passwall2.patch @@ -1,17 +1,3 @@ ---- a/luci-app-passwall2/root/etc/uci-defaults/luci-passwall2 -+++ b/luci-app-passwall2/root/etc/uci-defaults/luci-passwall2 -@@ -1,5 +1,10 @@ - #!/bin/sh - -+[ "`which nft`" ] && { -+uci -q set passwall2.@global_forwarding[0].use_nft=1 -+uci -q commit passwall2 -+} -+ - if [ -e "/etc/config/ucitrack" ]; then - uci -q batch <<-EOF - delete ucitrack.@passwall2[-1] - --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -31,7 +31,26 @@ LUCI_PKGARCH:=all