output: unRAID_Essentials — array-start scripts now show already-correct status instead of silence

This commit is contained in:
Gmer4Lfe
2026-06-01 20:25:35 -04:00
parent 9f82eb5678
commit d8c456a8c9
3 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -146,10 +146,9 @@ fi
# ==============================================================================================
# ━━━ Idempotent Check ━━━
# ==============================================================================================
# Already correct — completely silent
if [[ -f "$FILTER_FILE" ]] && \
[[ "$(cat "$FILTER_FILE" 2>/dev/null)" == "$EXPECTED_FILTER" ]]; then
log "Filter already correct — no changes needed"
echo "Syslog filter already correct "
exit 0
fi
+1 -2
View File
@@ -234,8 +234,7 @@ elif [[ "$CHANGED" -gt 0 ]]; then
fi
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
else
# Already correct — completely silent (runs every boot)
log "inotify limits already correct — no changes needed"
echo "inotify limits already correct ✅"
fi
exit 0
+1 -1
View File
@@ -166,7 +166,7 @@ fi
# ── Idempotent check ─────────────────────────────────────────────────────────────────────────
CURRENT_VAL=$(grep -E "^pm\.max_children" "$PHP_CONF" 2>/dev/null | awk '{print $NF}')
if [[ "${CURRENT_VAL:-0}" -eq "$PHP_MAX_CHILDREN" ]]; then
log "pm.max_children already $PHP_MAX_CHILDREN — no changes needed"
echo "pm.max_children already $PHP_MAX_CHILDREN "
exit 0
fi