New packages: - secubox-app-config-vault: Git-based config versioning CLI (configvaultctl) - luci-app-config-vault: KISS-themed dashboard with status rings Features: - 9 configuration modules (users, network, services, security, etc.) - Auto-commit and auto-push to private Gitea repository - Export/import clone tarballs for device provisioning - Commit history browser with restore capability Also adds System Hardware Report to secubox-app-reporter: - CPU/Memory/Disk/Temperature gauges with animations - Environmental impact card (power/kWh/CO₂ estimates) - Health recommendations based on system metrics - Debug log viewer with severity highlighting Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
11 lines
232 B
Bash
11 lines
232 B
Bash
#!/bin/sh
|
|
# Set default Gitea token from main gitea config
|
|
|
|
GITEA_TOKEN=$(uci -q get gitea.main.api_token)
|
|
if [ -n "$GITEA_TOKEN" ]; then
|
|
uci -q set config-vault.gitea.token="$GITEA_TOKEN"
|
|
uci commit config-vault
|
|
fi
|
|
|
|
exit 0
|