From 147aacbfa5f60fd7c843c89cec01bd4bf1b89775 Mon Sep 17 00:00:00 2001 From: YinAqu Date: Wed, 27 Sep 2023 12:13:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D`user.yaml`=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89hosts=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 2b85246..54ccdc7 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -346,7 +346,7 @@ store-selected: $restore $find_process EOF #读取本机hosts并生成配置文件 - if [ "$hosts_opt" != "未启用" ] && [ -z "$(grep -aE '^hosts:' $clashdir/user.yaml 2>/dev/null)" ];then + if [ "$hosts_opt" != "未启用" ] && [ -z "$(grep -aE '^hosts:' $clashdir/yamls/user.yaml 2>/dev/null)" ];then #NTP劫持 cat >> $TMPDIR/hosts.yaml <