openwrt lede编译时修改默认主题luci-theme


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



声明:It小小鸟 itxiaoniao.cn|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - openwrt lede编译时修改默认主题luci-theme


Carpe Diem and Do what I like