feat:新增支持GL原厂op25固件的MT3600BE脚本

This commit is contained in:
2026-08-06 16:01:36 +08:00
parent 669ac88b6d
commit 8e5e2c4e55
2 changed files with 15 additions and 2 deletions

View File

@@ -116,6 +116,7 @@ while true; do
echo
green "*******GL-iNet MT-3000 op25"
green "*******GL-iNet MT-6000 op25"
green "*******GL-iNet MT-3600BE op25"
echo
light_magenta " 1. 一键安装风格化"
echo

16
main.sh
View File

@@ -61,8 +61,12 @@ auto_detect_and_run() {
*MT5000* | *mt5000*)
download_and_run_script "mt5000.sh"
;;
*MT3600* | *mt3600*)
download_and_run_script "mt3600.sh"
*MT3600* | *mt3600* | *mt3600be* | *MT3600BE*)
if echo "$gl_name" | grep -qi "mt3600be" && grep -q "25\." /etc/openwrt_release 2>/dev/null; then
download_and_run_script "gl-inet-op25.sh"
else
download_and_run_script "mt3600.sh"
fi
;;
*E5800* | *e5800* | *Mudi* | *mudi*)
download_and_run_script "mudi7.sh"
@@ -117,6 +121,7 @@ select_model() {
green "12. GL-iNet MT-3000/MT-6000 (OP25固件)"
echo
green "13. MT-3000 换分区助手 (U盘扩容)"
green "14. GL-iNet MT-3600BE (OP25固件)"
echo
echo " Q. 退出"
echo
@@ -153,6 +158,13 @@ select_model() {
13)
download_and_run_script "mt-3000/mt3000.sh"
;;
14)
if grep -q "25\." /etc/openwrt_release 2>/dev/null; then
download_and_run_script "gl-inet-op25.sh"
else
download_and_run_script "mt3600.sh"
fi
;;
q | Q)
echo "退出"
exit 0