From 6e2295fdc01e3204f0a2de4e2e7cf26403e5599f Mon Sep 17 00:00:00 2001 From: zhao Date: Sat, 25 Jan 2025 11:04:53 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ZeroWrt b/bin/ZeroWrt index e5509c3..5ae9f95 100644 --- a/bin/ZeroWrt +++ b/bin/ZeroWrt @@ -512,6 +512,7 @@ one_click_setup() { uci set AdGuardHome.AdGuardHome.enabled='0' uci set AdGuardHome.AdGuardHome.redirect='none' cp /etc/config/default_AdGuardHome /etc/config/AdGuardHome.yaml + sed -i 's/upstream_dns_file:.*/upstream_dns_file: \/etc\/AdGuardHome-dns.yaml/' /etc/AdGuardHome.yaml uci commit AdGuardHome /etc/init.d/AdGuardHome restart # 恢复 passwall