From 55ab4e4ce221091480f8c693ceefb1d0ac32c18f Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Mon, 19 Jan 2015 21:08:03 +0100 Subject: luci-themes: luci.main.mediaurlbase not set correctly Currently by default theme Bootstrap is installed but luci.main.mediaurlbase (it holds the current active theme) still has openwrt.org set. I did not find the mechanism how LuCI starts Bootstrap theme but the installation should set luci.main.mediaurlbase correctly. Signed-off-by: Christian Schoenebeck --- themes/luci-theme-bootstrap/root/etc/uci-defaults/luci-theme-bootstrap | 1 + 1 file changed, 1 insertion(+) (limited to 'themes/luci-theme-bootstrap/root/etc/uci-defaults') diff --git a/themes/luci-theme-bootstrap/root/etc/uci-defaults/luci-theme-bootstrap b/themes/luci-theme-bootstrap/root/etc/uci-defaults/luci-theme-bootstrap index ddefd3b04f..09299e0922 100755 --- a/themes/luci-theme-bootstrap/root/etc/uci-defaults/luci-theme-bootstrap +++ b/themes/luci-theme-bootstrap/root/etc/uci-defaults/luci-theme-bootstrap @@ -1,6 +1,7 @@ #!/bin/sh uci batch <<-EOF set luci.themes.Bootstrap=/luci-static/bootstrap + set luci.main.mediaurlbase=/luci-static/bootstrap commit luci EOF exit 0 -- cgit v1.2.3