Licoy / fetch-github-hosts

🌏 同步github的hosts工具,支持多平台的图形化和命令行,内置客户端和服务端两种模式~ | Synchronize GitHub hosts tool, support multi-platform graphical and command line, built-in client and server modes
https://hosts.gitcdn.top
GNU General Public License v3.0
1.15k stars 123 forks source link

[Openwrt]sed: unsupported command Q #10

Closed HumanMus1c closed 9 months ago

HumanMus1c commented 1 year ago

在openwrt终端运行时 image

HumanMus1c commented 9 months ago

解决了: 将“Q”改为":wq" sed -i "/# fetch-github-hosts begin/:wq" /etc/hosts && curl https://hosts.gitcdn.top/hosts.txt >> /etc/myhosts

image

aobenny commented 4 months ago

感谢指引!