mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 12:33:56 +08:00
Update luci-app-passwall2.patch
This commit is contained in:
1 parent
c2de035b57
commit
f605fbccd8
1 file changed
-14
@@ -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
|
--- a/luci-app-passwall2/Makefile
|
||||||
+++ b/luci-app-passwall2/Makefile
|
+++ b/luci-app-passwall2/Makefile
|
||||||
@@ -31,7 +31,26 @@ LUCI_PKGARCH:=all
|
@@ -31,7 +31,26 @@ LUCI_PKGARCH:=all
|
||||||
|
|||||||
Reference in new issue
Block a user