wukongdaily 7da11c460e fix: 修复颜色输出在 busybox ash 环境下显示 -e 的问题
- 将所有颜色函数从 `echo -e` 改为 `printf`
- 兼容路由器上的 busybox ash shell
2026-06-22 12:11:09 +08:00
2025-12-17 14:05:36 +08:00
2025-12-09 21:39:26 +08:00
2025-12-09 21:39:26 +08:00
2025-12-09 21:39:26 +08:00
2025-12-17 14:05:36 +08:00
2025-12-09 21:39:26 +08:00
2025-12-25 13:24:05 +08:00
2025-12-17 12:27:14 +08:00
2025-12-09 21:39:26 +08:00

🚀 快速上手

一键安装 (推荐)

下载并运行主脚本,会自动检测路由器型号:

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换分区助手

🔗 相关链接

Description
No description provided
Readme GPL-3.0 18 MiB
Languages
Shell 100%