mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-22 16:07:49 +08:00
2.6 KiB
2.6 KiB
luci-app-advanced
LuCI 高级设置插件,提供系统配置、网络设置、防火墙等功能的管理界面。
功能特性
- 系统高级设置
- 网络配置管理
- 防火墙规则配置
- DHCP 设置
- 文件浏览器
- 文件管理器
系统要求
- OpenWrt 23.* 或更高版本
- LuCI 23.* + Web 界面
安装
从源码编译
git clone https://github.com/kenzok78/luci-app-advanced.git
mv luci-app-advanced /path/to/openwrt/package/feeds/luci/
make package/luci-app-advanced/compile V=99
在线安装
opkg update
opkg install luci-app-advanced
配置
- 登录 LuCI 管理界面
- 进入 系统 → 高级设置
- 根据需要进行配置
- 保存并应用
代码优化
修复的问题
- uci-defaults 脚本:添加文件存在性检查,避免文件不存在时报错
目录结构
luci-app-advanced/
├── htdocs/
│ └── luci-static/
│ └── resources/
│ └── fileassistant/
│ ├── fb.js
│ ├── fb.css
│ ├── folder-icon.png
│ ├── file-icon.png
│ └── link-icon.png
├── luasrc/
│ ├── controller/
│ │ ├── advanced.lua
│ │ └── fileassistant.lua
│ ├── model/
│ │ └── cbi/
│ │ └── advanced.lua
│ └── view/
│ ├── filebrowser.htm
│ └── fileassistant.htm
├── root/
│ ├── bin/
│ │ ├── normalmode
│ │ ├── nuc
│ │ ├── ipmode4
│ │ └── ipmode6
│ ├── etc/
│ │ ├── config/
│ │ │ └── advanced
│ │ └── uci-defaults/
│ │ └── 40_luci-fb
│ └── usr/
│ └── share/
│ └── rpcd/
│ └── acl.d/
│ └── luci-app-advanced.json
├── Makefile
└── README.md
许可证
Apache License 2.0
致谢
更新日志
v1.20 (2026-03-24)
- 标准化代码结构
- 修复 uci-defaults 脚本
- 添加中文 README