💋 Sync 2026-10-04 04:16:09

This commit is contained in:
github-actions[bot] committed 2026-10-04 04:16:09 +08:00
1 parent f6b2df73ec
commit f62992fd80
745 files changed
+212416 -1173

No files matched your search

@@ -0,0 +1,17 @@
#!/bin/sh
# Register the Vantage theme with LuCI (System -> Language and Style).
# Select it only on a fresh install and only when the entry is new, so an
# upgrade or a reinstall never overrides the theme the administrator chose.
new=0
if [ -z "$(uci -q get luci.themes.Vantage)" ]; then
new=1
fi
uci -q set luci.themes.Vantage=/luci-static/vantage || exit 1
if [ "$PKG_UPGRADE" != 1 ] && [ "$new" = 1 ]; then
uci -q set luci.main.mediaurlbase=/luci-static/vantage
fi
uci -q commit luci
exit 0