From c0388ea5ab618bdcf83abb7a5bea51b7a6319c02 Mon Sep 17 00:00:00 2001 From: zhao Date: Fri, 24 Jan 2025 17:41:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20bin/=20ZeroWrt.backup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- bin/ ZeroWrt.backup | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/ ZeroWrt.backup b/bin/ ZeroWrt.backup index f3b1e10..29f2b6a 100644 --- a/bin/ ZeroWrt.backup +++ b/bin/ ZeroWrt.backup @@ -260,10 +260,8 @@ one_click_setup() { 1) color_output "\e[34m[SmartDNS + AdGuardHome]\e[0m" - # 停用 MosDNS 配置 - uci set mosdns.config.enabled='0' - uci set mosdns.config.redirect='0' - uci commit mosdns + # 配置 MosDNS 配置 + cp /etc/config/default_mosdns /etc/config/mosdns /etc/init.d/mosdns restart # Dnsmasq设置