openwrt lede编译时修改默认主题luci-theme
It小小鸟 / 2020-09-22 / Openwrt / 阅读量 18364

1、默认主题配置文件
/itxiaoniao/lede/feeds/luci/modules/luci-base/root/etc/config

config core main

option lang auto
option mediaurlbase /luci-static/argon
option resourcebase /luci-static/resources

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

openwrt11.jpg

011.JPG