Skip to content
New issue

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

花生壳内网穿透代码没有适配386版本,只适配了384,希望作者可以适配下下面的代码 #55

Open
babylife opened this issue Feb 14, 2022 · 0 comments

Comments

@babylife
Copy link

判断路由架构和平台

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant