
- 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>
13 lines
231 B
Bash
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
|