Update luci-app-passwall.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-08-24 18:18:34 +08:00
1 parent 93c1a39736
commit 41b271ec92
1 file changed
+6 -6
+6 -6
View File
@@ -398,8 +398,8 @@ index 000000000000..a00fff9c79b3
--- a/luci-app-passwall/root/usr/share/passwall/app.sh --- a/luci-app-passwall/root/usr/share/passwall/app.sh
+++ b/luci-app-passwall/root/usr/share/passwall/app.sh +++ b/luci-app-passwall/root/usr/share/passwall/app.sh
@@ -1539,6 +1539,14 @@ start_dns() { @@ -1037,6 +1037,14 @@ stop_crontab() {
fi #echolog "清除定时执行命令。"
} }
+start_adblock() { +start_adblock() {
@@ -410,10 +410,10 @@ index 000000000000..a00fff9c79b3
+ "$APP_PATH/adblock.sh" > /dev/null 2>&1 & + "$APP_PATH/adblock.sh" > /dev/null 2>&1 &
+} +}
+ +
start_haproxy() { start_dns() {
[ "$(config_t_get global_haproxy balancing_enable 0)" != "1" ] && return echolog "DNS域名解析:"
haproxy_path=$TMP_PATH/haproxy
@@ -1853,6 +1861,7 @@ start() { @@ -1636,6 +1644,7 @@ start() {
export ENABLE_DEPRECATED_GEOIP=true export ENABLE_DEPRECATED_GEOIP=true
export SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN=1 export SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN=1
ulimit -n 65535 ulimit -n 65535