modify is-opkg for ARCH
This commit is contained in:
@@ -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 "退出"
|
||||
|
||||
Reference in New Issue
Block a user