From 56813828adef66e31680af3fa392f07c879a1f8d Mon Sep 17 00:00:00 2001 From: juewuy Date: Tue, 9 Dec 2025 22:43:58 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E6=9E=81?= =?UTF-8?q?=E7=AB=AF=E8=AE=BE=E5=A4=87=E5=90=AF=E5=8A=A8=E6=8A=A5=E9=94=99?= 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 a0bd433..bcaf0e6 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -609,7 +609,7 @@ EOF sed -i "/#自定义/d" "$TMPDIR"/config.yaml fi #建立软连接 - [ ""$TMPDIR"" = ""$BINDIR"" ] || ln -sf "$TMPDIR"/config.yaml "$BINDIR"/config.yaml + [ ""$TMPDIR"" = ""$BINDIR"" ] || ln -sf "$TMPDIR"/config.yaml "$BINDIR"/config.yaml 2>/dev/null || cp -f "$TMPDIR"/config.yaml "$BINDIR"/config.yaml #清理缓存 for char in $yaml_char set set_bak dns hosts; do rm -f "$TMPDIR"/${char}.yaml