[{"data":1,"prerenderedAt":200},["ShallowReactive",2],{"wiki-page-/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch2-ge-xing-hua-pei-zhi":3,"wiki-doc-items-/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch2-ge-xing-hua-pei-zhi":171},{"id":4,"title":5,"body":6,"chapter":156,"chapterSort":157,"date":158,"description":107,"docKey":159,"docRoot":160,"docTitle":161,"extension":162,"isWikiDoc":163,"isWikiIndex":164,"layout":165,"meta":166,"navigation":163,"path":167,"seo":168,"stem":169,"wikiDepth":114,"__hash__":170},"content/wiki/2021-09-16-OpenWrt编译教学/ch2-个性化配置.md","个性化配置",{"type":7,"value":8,"toc":150},"minimark",[9,23,33,43,48,82,94,97,101,118,125,129,143,146],[10,11,13,14,18,19,22],"h3",{"id":12},"修改默认主题进入路径openwrtfeedslucicollectionsluci修改makefile适用于openwrt版本1907不同的版本会稍微不同","修改默认主题进入路径",[15,16,17],"code",{},"openwrt/feeds/luci/collections/luci","，修改",[15,20,21],{},"Makefile","（适用于openwrt版本19.07，不同的版本，会稍微不同）：",[24,25,26,30],"ul",{},[27,28,29],"li",{},"将LUCI_DESCRIPTION中，bootstrap 替换为 argon",[27,31,32],{},"将LUCI_DEPENDS中，+luci-theme-bootstrap 替换为 +luci-theme-argon",[34,35,36,37],"p",{},"原文链接：",[38,39,40],"a",{"href":40,"rel":41},"https://blog.csdn.net/pyt1234567890/article/details/107442792",[42],"nofollow",[44,45,47],"h5",{"id":46},"个性化主题以-argon主题为例可编辑性强要更改openwrt源码中的主题包括argon主题可以按照以下步骤操作","个性化主题以 \"argon\"主题为例，可编辑性强要更改OpenWrt源码中的主题，包括Argon主题，可以按照以下步骤操作：",[49,50,51,58,65,72,75],"ol",{},[27,52,53,54,57],{},"进入",[15,55,56],{},"feeds/luci/themes/","目录",[27,59,60,61,64],{},"找到Argon主题所在的目录（一般为",[15,62,63],{},"luci-theme-argon","），并进入该目录",[27,66,67,68,71],{},"打开",[15,69,70],{},"root/usr/share/luci/static/resources/view/themes/argon/header.htm","文件，该文件定义了Argon主题的顶部导航栏、LOGO等内容",[27,73,74],{},"在header.htm文件中找到需要修改的内容，并进行相应的编辑和保存。例如，将LOGO图片路径指向自己的图片文件，或者调整导航栏的布局和样式",[27,76,77,78,81],{},"如果需要修改Argon主题的其他部分，例如底部导航栏、颜色方案等，可以在",[15,79,80],{},"root/usr/share/luci/static/resources/view/themes/argon/","目录下找到对应的文件进行编辑",[44,83,85,86,89,90,93],{"id":84},"个性化主机名修改packagebase-filesfilesbinconfig_generate将openwrt替换","个性化主机名修改",[15,87,88],{},"package/base-files/files/bin/config_generate","，将",[15,91,92],{},"\"OpenWrt\"","替换",[44,95,96],{"id":96},"自定义默认密码修改passwd文件",[44,98,100],{"id":99},"终端横幅修改文件","终端横幅修改文件：",[102,103,108],"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-bash shiki shiki-themes github-light github-dark","./package/base-files/files/etc/banner\n","bash","",[15,109,110],{"__ignoreMap":107},[111,112,115],"span",{"class":113,"line":114},"line",1,[111,116,105],{"class":117},"sScJk",[34,119,120,121],{},"横幅生成地址：",[38,122,123],{"href":123,"rel":124},"http://www.network-science.de/ascii/",[42],[44,126,128],{"id":127},"无线更改修改文件","无线更改修改文件：",[102,130,132],{"className":104,"code":131,"language":106,"meta":107,"style":107},"/package/kernel/mac80211/files/lib/wifi/mac80211.sh    # (ssid)\n",[15,133,134],{"__ignoreMap":107},[111,135,136,139],{"class":113,"line":114},[111,137,138],{"class":117},"/package/kernel/mac80211/files/lib/wifi/mac80211.sh",[111,140,142],{"class":141},"sJ8bj","    # (ssid)\n",[34,144,145],{},"修改自定义版本号：openwrt_release",[147,148,149],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":107,"searchDepth":151,"depth":151,"links":152},2,[153],{"id":12,"depth":154,"text":155},3,"修改默认主题进入路径openwrt/feeds/luci/collections/luci，修改Makefile（适用于openwrt版本19.07，不同的版本，会稍微不同）：","2",2000000,"2021-09-16","2021-09-16-openwrt-bian-yi-jiao-xue","/wiki/2021-09-16-openwrt-bian-yi-jiao-xue","OpenWrt编译教学","md",true,false,null,{},"/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch2-ge-xing-hua-pei-zhi",{"title":5,"description":107},"wiki/2021-09-16-OpenWrt编译教学/ch2-个性化配置","eHcOkZcNnpzxzyc97jGHypGwrCq9Dse3Cg2fbw7z5UY",[172,178,179,185,191,197],{"path":173,"stem":174,"title":175,"date":158,"chapter":176,"chapterSort":177,"docKey":159,"docRoot":160,"docTitle":161,"isWikiDoc":163,"isWikiIndex":164},"/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch1-bian-yi-huan-jing-zhun-bei","wiki/2021-09-16-OpenWrt编译教学/ch1-编译环境准备","编译环境准备","1",1000000,{"path":167,"stem":169,"title":5,"date":158,"chapter":156,"chapterSort":157,"docKey":159,"docRoot":160,"docTitle":161,"isWikiDoc":163,"isWikiIndex":164},{"path":180,"stem":181,"title":182,"date":158,"chapter":183,"chapterSort":184,"docKey":159,"docRoot":160,"docTitle":161,"isWikiDoc":163,"isWikiIndex":164},"/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch3-cha-jian-kai-fa","wiki/2021-09-16-OpenWrt编译教学/ch3-插件开发","插件开发","3",3000000,{"path":186,"stem":187,"title":188,"date":158,"chapter":189,"chapterSort":190,"docKey":159,"docRoot":160,"docTitle":161,"isWikiDoc":163,"isWikiIndex":164},"/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch4-bu-chong-gong-ju","wiki/2021-09-16-OpenWrt编译教学/ch4-补充工具","补充工具","4",4000000,{"path":192,"stem":193,"title":194,"date":158,"chapter":195,"chapterSort":196,"docKey":159,"docRoot":160,"docTitle":161,"isWikiDoc":163,"isWikiIndex":164},"/wiki/2021-09-16-openwrt-bian-yi-jiao-xue/ch5-qi-ta-can-kao-zi-liao-tian-jia-usb-he-ying-pan-ge-shi-hai-you-wang-ka-jiao-cheng","wiki/2021-09-16-OpenWrt编译教学/ch5-其他参考资料添加USB和硬盘格式还有网卡教程：","其他参考资料添加USB和硬盘格式还有网卡教程：","5",5000000,{"path":160,"stem":198,"title":161,"date":158,"chapter":165,"chapterSort":199,"docKey":159,"docRoot":160,"docTitle":161,"isWikiDoc":163,"isWikiIndex":163},"wiki/2021-09-16-OpenWrt编译教学/index",0,1778560331478]