Tonne of things

This commit is contained in:
2026-03-08 18:11:26 -06:00
parent 3f35e4b18d
commit 76b87d9f3d
208 changed files with 4280 additions and 1416 deletions

View File

@@ -36,6 +36,10 @@ fi
log "Received trigger: action=${ACTION}"
# Extract triggeredBy and write marker file for the API to read post-restart
TRIGGERED_BY="$(echo "$TRIGGER_CONTENT" | grep -o '"triggeredBy"[[:space:]]*:[[:space:]]*"[^"]*"' | head -1 | sed 's/.*"triggeredBy"[[:space:]]*:[[:space:]]*"//' | sed 's/".*//' || true)"
echo "${TRIGGERED_BY:-manual}" > "${UPGRADE_DIR}/triggered-by.txt"
# Remove trigger immediately to prevent re-execution
rm -f "$TRIGGER_FILE"