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'

 

相关代码链接:

http://pan.baidu.com/s/1dDo3t4X

相关文章:

  • 2021-12-26
  • 2021-07-24
  • 2021-06-19
  • 2021-05-25
  • 2021-09-19
  • 2022-02-25
  • 2021-12-30
  • 2021-08-11
猜你喜欢
  • 2021-07-27
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
相关资源
相似解决方案