help: entware: not specific to bfsu

This commit is contained in:
Zenithal 2022-09-05 16:17:24 +08:00
parent bf8d2d39fa
commit 0b7d436260
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

View File

@ -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
```
```