From 104973b9813650e60be625ecec2d5fdad0f60ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 4 Sep 2025 13:59:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor(h-hosts):=20=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=8E=89=20harbor.oo1.dev=20=E5=9F=9F=E5=90=8D=E5=B9=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=A0=E9=99=A4=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 DOMAINS 数组中注释掉 harbor.oo1.dev 域名 - 添加删除 /etc/hosts 文件中 harbor.oo1.dev 相关条目的命令 --- h-hosts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/h-hosts.sh b/h-hosts.sh index 631d21e..073e807 100755 --- a/h-hosts.sh +++ b/h-hosts.sh @@ -32,6 +32,7 @@ DOMAINS=( "alist.oo1.dev" ) # "harbor.oo1.dev" + # sudo sed -i '/harbor.oo1.dev/d' /etc/hosts # 统计变量 ADDED_COUNT=0