OpenWRT在编译前选择要使用的主题
在OpenWRT源码中修改
1、默认主题配置文件
feeds/luci/modules/luci-base/root/etc/config/luci
1 | config core main |
2、然后是修改每个主题文件下面的30_luci-theme-***文件
比如
/feeds/kenzo/luci-theme-opentomato/root/etc/uci-defaults/30_luci-theme-opentomato
/feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap
/package/lean/luci-theme-netgear/root/etc/uci-defaults/30_luci-theme-netgear
注释掉或者删除下面的句子,仅剩一个想要默认的主题不注释
set luci.main.mediaurlbase=/luci-static/opentomato
修改文件系统源码
修改/etc/config/luci文件
1 | config core main |