mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add openwrt 2020 theme
This commit is contained in:
parent
519c6f7e4e
commit
3bcb00ba68
10 changed files with 2190 additions and 0 deletions
12
luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020
Executable file
12
luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$PKG_UPGRADE" != 1 ]; then
|
||||
uci get luci.themes.OpenWrt2020 >/dev/null 2>&1 || \
|
||||
uci batch <<-EOF
|
||||
set luci.themes.OpenWrt2020=/luci-static/openwrt2020
|
||||
set luci.main.mediaurlbase=/luci-static/openwrt2020
|
||||
commit luci
|
||||
EOF
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue