This commit is contained in:
xueweihan 2024-04-10 12:34:37 +08:00
parent b5d0a1f3b5
commit df016102be
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ hosts 文件在每个系统的位置不一,详情如下:
#### BSD/macOS
`sudo sed -i "" "/# GitHub520 Host Start/,/# Github520 Host End/d" /etc/hosts && curl https://raw.hellogithub.com/hosts | sudo tee -a /etc/hosts`
将上面的命令添加到 cron可定时执行。使用前确保 GitHub520 内容在该文件最后部分。
#### 在 Dcker 中运行,若遇到 `Device or resource busy` 错误,可使用以下命令执行