From 8b32856c0d562c6c337ffc3b9acd00c629e03f8a Mon Sep 17 00:00:00 2001 From: "Bastian (BaM)" Date: Sun, 14 Sep 2025 11:07:26 +0200 Subject: [PATCH] Enhance logging for Wake-on-LAN functionality in auto-boot-ollama-host.lua --- scripts/auto-boot-ollama-host.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/auto-boot-ollama-host.lua b/scripts/auto-boot-ollama-host.lua index 4474fe9..3ecac77 100644 --- a/scripts/auto-boot-ollama-host.lua +++ b/scripts/auto-boot-ollama-host.lua @@ -90,9 +90,10 @@ local function main() log(("Detected EHOSTUNREACH for Ollama (%s:%d)."):format(OLLAMA_HOST, OLLAMA_PORT)) if WOL_MAC ~= "" then + log(("Sending WOL to %s via %s:%d"):format(WOL_MAC, WOL_BCAST, WOL_PORT)) local ok, err = send_wol(WOL_MAC, WOL_BCAST, WOL_PORT) if ok then - log(("Sent WOL to %s via %s:%d"):format(WOL_MAC, WOL_BCAST, WOL_PORT)) + log(("Sucessfully sent WOL to %s via %s:%d"):format(WOL_MAC, WOL_BCAST, WOL_PORT)) else log("WOL failed: " .. tostring(err)) end