From d8c456a8c9bcabbe131d1451b5b11cca90653047 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Mon, 1 Jun 2026 20:25:35 -0400 Subject: [PATCH] =?UTF-8?q?output:=20unRAID=5FEssentials=20=E2=80=94=20arr?= =?UTF-8?q?ay-start=20scripts=20now=20show=20already-correct=20status=20in?= =?UTF-8?q?stead=20of=20silence?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unRAID_Essentials/docker_syslog_filter.sh | 3 +-- unRAID_Essentials/inotify_tuning.sh | 3 +-- unRAID_Essentials/php_fpm_max_children.sh | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/unRAID_Essentials/docker_syslog_filter.sh b/unRAID_Essentials/docker_syslog_filter.sh index a3e53a8..3650742 100755 --- a/unRAID_Essentials/docker_syslog_filter.sh +++ b/unRAID_Essentials/docker_syslog_filter.sh @@ -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 diff --git a/unRAID_Essentials/inotify_tuning.sh b/unRAID_Essentials/inotify_tuning.sh index 4911e92..37d5138 100755 --- a/unRAID_Essentials/inotify_tuning.sh +++ b/unRAID_Essentials/inotify_tuning.sh @@ -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 \ No newline at end of file diff --git a/unRAID_Essentials/php_fpm_max_children.sh b/unRAID_Essentials/php_fpm_max_children.sh index c8caee4..f349c27 100755 --- a/unRAID_Essentials/php_fpm_max_children.sh +++ b/unRAID_Essentials/php_fpm_max_children.sh @@ -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