第 2 節

Personalized Configuration

0瀏覽次數0訪問次數--跳出率--平均停留

Modify the default theme entry path openwrt/feeds/luci/collections/luci, modify Makefile (applicable to OpenWrt version 19.07; different versions may vary slightly):

  • I'd be happy to help, but I don't see any LUCI_DESCRIPTION content in your message. Could you please provide the Markdown fragment that contains "bootstrap" so I can replace it with "argon" and translate it into natural American English?
  • In LUCI_DEPENDS, replace +luci-theme-bootstrap with +luci-theme-argon.

Original link: https://blog.csdn.net/pyt1234567890/article/details/107442792

Using the "argon" theme as an example, it offers strong customizability. To change the theme in the OpenWrt source code, including the Argon theme, follow these steps:
  1. Enter the feeds/luci/themes/ directory.
  2. Find the directory where the Argon theme is located (usually luci-theme-argon), and enter that directory.
  3. Open the root/usr/share/luci/static/resources/view/themes/argon/header.htm file, which defines the top navigation bar, logo, and other content for the Argon theme.
  4. In the header.htm file, locate the content that needs to be modified, then edit and save it accordingly. For example, point the LOGO image path to your own image file, or adjust the layout and style of the navigation bar.
  5. If you need to modify other parts of the Argon theme, such as the bottom navigation bar or color scheme, you can find the corresponding files in the root/usr/share/luci/static/resources/view/themes/argon/ directory to edit them.
Customizing the hostname package/base-files/files/bin/config_generate, replace "OpenWrt"
Modify the default password by editing the passwd file
Terminal banner modification file:
./package/base-files/files/etc/banner

Banner generation URL: http://www.network-science.de/ascii/

Wirelessly modify files:
/package/kernel/mac80211/files/lib/wifi/mac80211.sh    # (ssid)

Modify custom version number: openwrt_release

音乐页