kenzok8-passwall/luci-theme-design/root/etc/uci-defaults/30_luci-theme-design
2024-08-25 20:10:08 +08:00

11 lines
185 B
Bash

#!/bin/sh
if [ "$PKG_UPGRADE" != 1 ]; then
uci batch <<-EOF
set luci.themes.Design=/luci-static/design
set luci.main.mediaurlbase=/luci-static/design
commit luci
EOF
fi
exit 0