diff options
Diffstat (limited to 'themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020')
-rwxr-xr-x | themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020 b/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020 new file mode 100755 index 000000000..45e742ad7 --- /dev/null +++ b/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020 @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$PKG_UPGRADE" != 1 ]; then + uci batch <<-EOF + set luci.themes.OpenWrt2020=/luci-static/openwrt2020 + set luci.main.mediaurlbase=/luci-static/openwrt2020 + commit luci + EOF +fi + +exit 0 |