From 01fa92976cd5045b239f7abbf231e1c72e191702 Mon Sep 17 00:00:00 2001 From: lxu Date: Wed, 22 Dec 2021 14:43:12 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0One-liner"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b5a61d981502c6ae8eedab9d1e18a81116f22bc6. --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 67600259..e3fd3ec0 100644 --- a/README.md +++ b/README.md @@ -101,13 +101,6 @@ hosts 文件在每个系统的位置不一,详情如下: ### 2.2 自动方式 -#### 2.2.1 One-liner (for linux) - -`sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts` -自动更新`/etc/hosts`文件,可以添加到cron定时执行。使用前确保Github520内容在该文件最后部分。 - -#### 2.2.2 - **Tip**:推荐 [SwitchHosts](https://github.com/oldj/SwitchHosts) 工具管理 hosts 以 SwitchHosts 为例,看一下怎么使用的,配置参考下面: