diff options
Diffstat (limited to 'themes')
-rwxr-xr-x | themes/fledermaus/ipkg/postinst | 4 | ||||
-rwxr-xr-x | themes/fledermaus/root/etc/uci-defaults/luci-theme-fledermaus | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/themes/fledermaus/ipkg/postinst b/themes/fledermaus/ipkg/postinst new file mode 100755 index 000000000..1951df576 --- /dev/null +++ b/themes/fledermaus/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-theme-fledermaus ) && rm -f /etc/uci-defaults/luci-theme-fledermaus +} diff --git a/themes/fledermaus/root/etc/uci-defaults/luci-theme-fledermaus b/themes/fledermaus/root/etc/uci-defaults/luci-theme-fledermaus new file mode 100755 index 000000000..83e472b63 --- /dev/null +++ b/themes/fledermaus/root/etc/uci-defaults/luci-theme-fledermaus @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.themes.Fledermaus=/luci-static/fledermaus + commit luci +EOF + |