From 3e15d0ec5d6afd62cb86f5fcd5b6999676544594 Mon Sep 17 00:00:00 2001 From: "Bastian (BaM)" Date: Sat, 13 Sep 2025 19:53:03 +0200 Subject: [PATCH] Debugging --- scripts/auto-boot-ollama-host.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/auto-boot-ollama-host.sh b/scripts/auto-boot-ollama-host.sh index 4f347bf..35ce105 100644 --- a/scripts/auto-boot-ollama-host.sh +++ b/scripts/auto-boot-ollama-host.sh @@ -38,12 +38,14 @@ while IFS= read -r line; do # echo "$line" # uncomment for debugging if echo "$line" | grep -qE "${ERROR_PATTERN}"; then log "Detected EHOSTUNREACH for Ollama (${OLLAMA_HOST}:${OLLAMA_PORT})." + echo ok - # ... in your remediation block: - if [[ -n "$WOL_MAC" ]]; then - log "Sending WOL to $WOL_MAC via ${WOL_BCAST}:${WOL_PORT}" - send_wol - fi + # ... in your remediation block: + if [[ -n "$WOL_MAC" ]]; then + log "Sending WOL to $WOL_MAC via ${WOL_BCAST}:${WOL_PORT}" + #send_wol + fi + echo ok # --- remediation examples (optional) --- # if [[ -n "$WOL_MAC" ]]; then # log "Sending WOL to ${WOL_MAC}"