blob: 7ee8c193d79b9b91cd9827695340ce9cd4f7e653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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
commit luci
EOF
fi
exit 0
|