modify is-opkg for ARCH

This commit is contained in:
2025-05-17 19:14:49 +08:00
parent 156b591142
commit b88bdd650d
3 changed files with 305 additions and 0 deletions
+15
View File
@@ -63,6 +63,11 @@ do_istore() {
# 安装所有下载的 .ipk 包
opkg install ./*.ipk
#覆盖 bin/is-opkg
wget -O /bin/is-opkg https://cafe.cpolar.top/wkdaily/be3600/raw/branch/master/64bit/is-opkg.sh
chmod +x /bin/is-opkg
}
# 首页和网络向导
@@ -270,6 +275,14 @@ recovery() {
fi
}
add_arch_64bit(){
wget -O /etc/opkg/arch.conf https://cafe.cpolar.top/wkdaily/be3600/raw/branch/master/64bit/arch.conf
#mkdir -p /tmp/assistant
#cd /tmp/assistant
#wget -O luci-app-fileassistant.ipk https://cafe.cpolar.top/wkdaily/be3600/raw/branch/master/64bit/luci-app-fileassistant.ipk
#opkg install *.ipk --force-depends
}
while true; do
clear
gl_name=$(get_router_name)
@@ -310,6 +323,8 @@ while true; do
do_istore
#安装首页和网络向导
do_quickstart
#调整a53架构优先级
add_arch_64bit
;;
q | Q)
echo "退出"