openwrt如何编译修改界面的顶部、底部信息、LOGO图片 |
2011-06-02 16:20:03 浏览2268次 |
以Atheros71xx为例,修改路径为:trunk/build_dir/target-mips_r2_uClibc-0.9.33.2 /luci-trunk+svn8959/themes/openwrt/luasrc/view/themes/openwrt.org 此目录下的footer.htm和header.htm两个文件 稍懂html都很容易修改,然后重新编译即可 |
http://wifiap.cn/news.php?nid=32
源码中的修改:
- package/base-files/files/etc/config/system
- [openwrt@root config]$ vim system
- 1 config system
- 2 option hostname Jack
- 3 option timezone UTC
- 4
- 5 config timeserver ntp
- 6 list server 0.openwrt.pool.ntp.org
- 7 list server 1.openwrt.pool.ntp.org
- 8 list server 2.openwrt.pool.ntp.org
- 9 list server 3.openwrt.pool.ntp.org
- 10 option enable_server 0
然后删除原来生成的文件系统(staging_dir/target-i386_uClibc-0.9.33.2/root-x86/),
编译,刷机。