30_luci-theme-openwrt-2020 255 B

123456789101112
  1. #!/bin/sh
  2. if [ "$PKG_UPGRADE" != 1 ]; then
  3. uci get luci.themes.OpenWrt2020 >/dev/null 2>&1 || \
  4. uci batch <<-EOF
  5. set luci.themes.OpenWrt2020=/luci-static/openwrt2020
  6. set luci.main.mediaurlbase=/luci-static/openwrt2020
  7. commit luci
  8. EOF
  9. fi
  10. exit 0