diff --git a/help/_posts/2022-09-05-entware.md b/help/_posts/2022-09-05-entware.md index bc3c2b7..5f661c5 100644 --- a/help/_posts/2022-09-05-entware.md +++ b/help/_posts/2022-09-05-entware.md @@ -7,11 +7,11 @@ mirrorid: entware ## Entware 镜像使用帮助 Entware 使用 opkg 来管理其软件包,只需修改 opkg 配置文件中的软件源地址,就可以使用镜像来下载软件包。 -按照官方 Wiki 中的教程安装好 entware 后,使用 `sed` 命令即可将软件源地址替换为 BFSU。 +按照官方 Wiki 中的教程安装好 entware 后,使用 `sed` 命令即可将软件源地址替换为本镜像站。 替换后,请运行 `opkg update` 命令,更新软件包 feed。 -```console -sed -i 's|bin.entware.net|mirrors.bfsu.edu.cn/entware|g' /opt/etc/opkg.conf +```bash +sed -i 's|bin.entware.net|{{ site.hostname }}/entware|g' /opt/etc/opkg.conf opkg update ``` @@ -20,4 +20,4 @@ opkg update ``` src/gz entware http://mirrors.bfsu.edu.cn/entware/aarch64-k3.10 -``` \ No newline at end of file +```