luci-theme-argon/root/etc/uci-defaults/30_luci-theme-argon
Giovanni Giacobbi 147b362334
Removed install scripts hacks as they are no longer needed
- The default 'postinst' from 'luci.mk' is sufficient for what we need, also updated the 'uci-default' to a standard version
- Hack about 'header_login' is replaced with adding 'out_header_login' directly from the sysauth template
- Also added specialized 'out_footer_login' and 'footer_login' for symmetric reasons
- Synced 'out_header_login.htm' with current LuCI 'header.htm'

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-01-21 11:13:38 +01:00

13 lines
231 B
Bash

#!/bin/sh
if [ "$PKG_UPGRADE" != 1 ]; then
uci get luci.themes.Argon >/dev/null 2>&1 || \
uci batch <<-EOF
set luci.themes.Argon=/luci-static/argon
set luci.main.mediaurlbase=/luci-static/argon
commit luci
EOF
fi
exit 0