1.将LuciXEyE文件夹拷贝至feeds/luci/themes这个目录
2.修改makefile文件,使其制定编译的时候能找到openwrtcn这个主题
找到路径为feeds/luci/contrib/package/luci下面的makefile文件双击打开
搜索OpenWrt.org这样很快就定位到添加主题的地方了,在下面空白处增加一句,效果如下
$(eval $(call theme,openwrt,OpenWrt.org))
$(eval $(call theme,bootstrap,Bootstrap Theme (default)))
$(eval $(call theme,LuciXEyE,LuciXEyE Theme))
保存退出即可。
3.设置默认主题
进入/home/tingpan/openwrt/barrier_breaker/feeds/luci/modules/base/root/etc/config
修改luci配置文件
option mediaurlbase '/luci-static/bootstrap'
相关代码链接: