mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-11 02:44:57 +08:00
Update luci-app-passwall2.patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user