luci/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt

12 lines
197 B
Text
Raw Normal View History

#!/bin/sh
if [ "$PKG_UPGRADE" != 1 ]; then
uci batch <<-EOF
set luci.themes.OpenWrt=/luci-static/openwrt.org
set luci.main.mediaurlbase=/luci-static/openwrt.org
commit luci
EOF
fi
exit 0