We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case $(uname -m) in aarch64) if [ "$(uname -o|grep Merlin)" -a -d "/koolshare" ];then echo_date 机型:$MODEL $(_get_type) 符合安装要求1 else exit_install 1 fi ;; armv7l) if [ "$MODEL" == "TUF-AX3000" -o "$MODEL" == "RT-AX82U" ] && [ -d "/koolshare" ];then # 这里是armv7l 384官改固件 echo_date 机型:$MODEL $(_get_type) 符合安装要求2 elif [ "uname -o|grep Merlin" ] && [ -d "/koolshare" ] && [ -n "nvram get buildno|grep 384" ];then //这里添加386的适配 # 这里是armv7l 384梅林固件 echo_date 机型:$MODEL $(_get_type) 符合安装要求3 else exit_install 1 fi ;; *) exit_install 1 ;; esac
uname -o|grep Merlin
nvram get buildno|grep 384
The text was updated successfully, but these errors were encountered:
No branches or pull requests
判断路由架构和平台
case $(uname -m) in
aarch64)
if [ "$(uname -o|grep Merlin)" -a -d "/koolshare" ];then
echo_date 机型:$MODEL $(_get_type) 符合安装要求1
else
exit_install 1
fi
;;
armv7l)
if [ "$MODEL" == "TUF-AX3000" -o "$MODEL" == "RT-AX82U" ] && [ -d "/koolshare" ];then
# 这里是armv7l 384官改固件
echo_date 机型:$MODEL $(_get_type) 符合安装要求2
elif [ "
uname -o|grep Merlin
" ] && [ -d "/koolshare" ] && [ -n "nvram get buildno|grep 384
" ];then //这里添加386的适配# 这里是armv7l 384梅林固件
echo_date 机型:$MODEL $(_get_type) 符合安装要求3
else
exit_install 1
fi
;;
*)
exit_install 1
;;
esac
The text was updated successfully, but these errors were encountered: