From 303a029c1f6c570d539e5ac7d88ce4910b0d18a0 Mon Sep 17 00:00:00 2001 From: zhao Date: Sat, 25 Jan 2025 01:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20bin/ZeroWrt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- bin/ZeroWrt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ZeroWrt b/bin/ZeroWrt index a0f7392..8dbed6d 100644 --- a/bin/ZeroWrt +++ b/bin/ZeroWrt @@ -429,7 +429,7 @@ one_click_setup() { cp /etc/config/default_AdGuardHome /etc/config/AdGuardHome.yaml sed -i 's/upstream_dns_file:.*/upstream_dns_file: \/etc\/AdGuardHome-mosdns.yaml/' /etc/AdGuardHome.yaml sed -i 's/cache_size: .*/cache_size: 0/' /etc/AdGuardHome.yaml - sed -i 's|upstream_dns_file: ""|upstream_dns_file: "/etc/AdGuardHome-mosdns.yaml"|' /etc/AdGuardHome.yaml + sed -i 's/upstream_mode: .*/upstream_mode: parallel/' /etc/AdGuardHome.yaml uci set AdGuardHome.AdGuardHome.enabled='1' uci set AdGuardHome.AdGuardHome.redirect='dnsmasq-upstream' uci commit AdGuardHome