From 2b1c5ed47277ce02f993f8f5cfd6b8634156f35e Mon Sep 17 00:00:00 2001 From: zhao Date: Sat, 25 Jan 2025 10:13:31 +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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ZeroWrt b/bin/ZeroWrt index 8dbed6d..e5509c3 100644 --- a/bin/ZeroWrt +++ b/bin/ZeroWrt @@ -509,7 +509,10 @@ one_click_setup() { cp /etc/config/default_mosdns /etc/config/mosdns /etc/init.d/mosdns restart # 恢复 adguardhome + uci set AdGuardHome.AdGuardHome.enabled='0' + uci set AdGuardHome.AdGuardHome.redirect='none' cp /etc/config/default_AdGuardHome /etc/config/AdGuardHome.yaml + uci commit AdGuardHome /etc/init.d/AdGuardHome restart # 恢复 passwall cp /etc/config/default_passwall /etc/config/passwall