openwrt 更改默认主题

BB 版本默认的主题为 bootstrap,想要修改为其他的主题,可以按照如下方法修改:

1、查看可以使用的主题。

   "make menuconfig" ---> "luci" ---> "theme"

   

   可以看到目前支持4种主题,(1)bootstrap (2)freifunk-bno (3)freifunk-generic (4)openwrt

   在代码目录中也可以查看到,路径为:  feeds/luci/themes

hbg@root:~/trunk/feeds/luci/themes$ ls
bootstrap   freifunk-bno   freifunk-generic   openwrt

2、更改默认主题

     修改   feeds/luci/contrib/package/luci  下的文件 Makefile

     找到主题段

   

    替换为 $(eval $(call theme,openwrt,OpenWrt.org (default)))。

   

(3)在  "make menuconfig"  ---> "Luci"  ---> "themes"   中选中 "openwrt"主题,然后编译即可。

原文地址:https://www.cnblogs.com/rohens-hbg/p/5712087.html