wukongdaily 41b72b6e54 refactor: 重构项目结构,提取公共函数库,删除无用文件和Docker功能
主要变更:
- 创建 lib/lib-common.sh 公共函数库,减少约2300行重复代码
- 重构所有机型脚本,改为从远程加载公共库
- 删除 Docker 安装功能(路由器运行Docker不稳定)
- 删除无用文件:reinstall_istore.sh、try.sh、index.html、docker目录
- 修改 AdGuardHome 函数为操作提示
- 更新 README.md,添加项目结构说明
2026-06-22 08:42:26 +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
2026-06-16 16:38:55 +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-3600
  • GL-iNet MT-5000 / MT-3600
  • 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)"

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)"

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专用脚本
├── be3600.sh            # BE3600专用脚本
├── mt5000.sh            # MT5000专用脚本
├── mt3600.sh            # MT3600专用脚本
├── 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%