openwrt adds Luci2

Luci2 is officially launched. Compared with earlier Luci, the architecture is updated. Abandon Lua and use a lot of js. Makes faster and easier to modify.
Before using Luci2, it is recommended to install Luci first to ensure that the relevant interface functions are normal. For Luci installation, refer to https://blog.csdn.net/pyt1234567890/article/details/107323540. The
improved xLuci2
used here is suitable for openwrt v19.07.4

  1. Install Luci2, modify feeds.conf.default, add [src-git xluci2 https://gitee.com/zhaojh329/xluci2.git]
src-git packages https://gitee.com/openwrt-mirror/packages.git
src-git luci https://gitee.com/openwrt-mirror/luci.git
src-git routing https://git.openwrt.org/feed/routing.git
src-git telephony https://git.openwrt.org/feed/telephony.git
src-git freifunk https://github.com/freifunk/openwrt-packages.git
#src-git video https://github.com/openwrt/video.git
#src-git targets https://github.com/openwrt/targets.git
#src-git management https://github.com/openwrt-management/packages.git
#src-git oldpackages http://git.openwrt.org/packages.git
#src-link custom /usr/src/openwrt/custom-feed

src-git xluci2 https://gitee.com/zhaojh329/xluci2.git

  1. Perform installation
./scripts/feeds update -a 
./scripts/feeds install -a -p xluci2
  1. Enter menuconfig, open luci2, and open the default theme
 .config - OpenWrt Configuration                                                                  
 > LuCI2 ──────────────────────────────────────────────────────────────────────────────────────── 
  ┌────────────────────────────────────────── LuCI2 ──────────────────────────────────────────┐   
  │  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).   │   
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes   │   
  │  features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] built-in │   
  │  [ ] excluded  <M> module  < > module capable                                             │   
  │ ┌───────────────────────────────────────────────────────────────────────────────────────┐ │   
  │ │            Applications  --->                                                         │ │   
  │ │            Themes  --->                                                               │ │   
  │ │        <*> luci2-base...................................... LuCI2 UI modified by zjh  │ │   
  │ │                                                                                       │ │   
  │ │                                                                                       │ │   
  │ │                                                                                       │ │   
  │ └───────────────────────────────────────────────────────────────────────────────────────┘ │   
  ├───────────────────────────────────────────────────────────────────────────────────────────┤   
  │                 <Select>    < Exit >    < Help >    < Save >    < Load >                  │   
  └───────────────────────────────────────────────────────────────────────────────────────────┘   
                                                                                                  
 .config - OpenWrt Configuration                                                                  
 > LuCI2 > Themes ─────────────────────────────────────────────────────────────────────────────── 
  ┌───────────────────────────────────────── Themes ──────────────────────────────────────────┐   
  │  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).   │   
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes   │   
  │  features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] built-in │   
  │  [ ] excluded  <M> module  < > module capable                                             │   
  │ ┌───────────────────────────────────────────────────────────────────────────────────────┐ │   
  │ │        <*> luci2-theme-default.................................. LuCI2 Default theme  │ │   
  │ │        < > luci2-theme-sidenav................................. LuCI2 Side Nav theme  │ │   
  │ │                                                                                       │ │   
  │ │                                                                                       │ │   
  │ │                                                                                       │ │   
  │ │                                                                                       │ │   
  │ └───────────────────────────────────────────────────────────────────────────────────────┘ │   
  ├───────────────────────────────────────────────────────────────────────────────────────────┤   
  │                 <Select>    < Exit >    < Help >    < Save >    < Load >                  │   
  └───────────────────────────────────────────────────────────────────────────────────────────┘   

Guess you like

Origin blog.csdn.net/pyt1234567890/article/details/109391884