- 所有机型脚本支持 --quick/-q 参数 - 新增 run_quick_install() 函数封装选项1逻辑 - 无重复代码,维护方便 - 用户可直接执行一键安装而无需菜单交互
🚀 快速上手
一键安装 (推荐)
下载并运行主脚本,会自动检测路由器型号:
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/main.sh)"
主脚本支持自动检测以下机型:
- GL-iNet BE-6500 / BE-9300 / BE-3600
- GL-iNet MT-5000 / MT-3600
- GL-iNet Mudi 7 (GL-E5800)
- GL-iNet MT-2500A / MT-3000 / MT-6000
- OP24 固件专用脚本
单独机型脚本
如需单独运行某机型脚本,可使用以下命令:
MT2500 / MT3000 / MT6000
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/gl-inet.sh)"
MT3000 / MT6000 (OP24固件)
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/gl-inet-op24.sh)"
BE6500
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/be6500.sh)"
BE9300
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/be9300.sh)"
BE3600
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/be3600.sh)"
MT-3600BE
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/mt3600.sh)"
Mudi 7 (GL-E5800)
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/mudi7.sh)"
MT-5000
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/mt5000.sh)"
MT-3000 换分区助手 (U盘扩容)
sh -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/gl/raw/branch/main/mt-3000/mt3000.sh)"
📝 MT3000 OP24固件软件源配置
如果你升级到原厂4.8.3-op24,建议把默认软件源替换为阿里云:
src/gz core https://fw.gl-inet.cn/releases/v24.x/24.10.4/mediatek/filogic
src/gz base https://mirrors.aliyun.com/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/base
src/gz luci https://mirrors.aliyun.com/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/luci
src/gz packages https://mirrors.aliyun.com/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/packages
src/gz routing https://mirrors.aliyun.com/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/routing
src/gz telephony https://mirrors.aliyun.com/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/telephony
📁 项目结构
gl/
├── main.sh # 主入口脚本
├── lib/
│ └── lib-common.sh # 公共函数库
├── be6500.sh # BE6500专用脚本
├── be9300.sh # BE9300专用脚本
├── be3600.sh # BE3600专用脚本
├── mt5000.sh # MT5000专用脚本
├── mt3600.sh # MT3600专用脚本
├── mudi7.sh # Mudi 7 (GL-E5800)专用脚本
├── gl-inet.sh # MT2500/3000/6000通用脚本
├── gl-inet-op24.sh # OP24固件专用脚本
└── mt-3000/
└── mt3000.sh # MT3000换分区助手
🔗 相关链接
Languages
Shell
100%