从网上下载了luci-theme-material的主题文件,想要自己编译,并从menuconfig中选择配置。
1. 将luci-theme-material拷贝到 js7688_bsp/openwrt/feeds/luci/themes 目录下。
2. 在js7688_bsp/openwrt/package/feeds/luci 目录下创建软连接。
ls -s luci-theme-material ../../../feeds/luci/themes/luci-theme-material
make menuconfig #可以在luci的主题列表中选择这个主题。
修改为默认主题:
由于默认配置的主题为luci-theme-bootstrap。。找了多个地方都无法找到哪里配置的。
最后只能把openwrt/feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/luci-theme-bootstrap的脚本给注释掉。
重新烧写固件以后,开机默认的主题就是没有注释的了。