diff options
Diffstat (limited to 'themes/luci-theme-openwrt/root/etc')
-rwxr-xr-x | themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt b/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt index 77e2f6064b..7ee8c193d7 100755 --- a/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt +++ b/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt @@ -1,6 +1,7 @@ #!/bin/sh if [ "$PKG_UPGRADE" != 1 ]; then + uci get luci.themes.OpenWrt >/dev/null 2>&1 || \ uci batch <<-EOF set luci.themes.OpenWrt=/luci-static/openwrt.org set luci.main.mediaurlbase=/luci-static/openwrt.org |