From 7abc8d2b89597c8e674711d77f585d9f4cca61fc Mon Sep 17 00:00:00 2001 From: smoochy Date: Fri, 23 Jan 2026 16:32:47 +0100 Subject: [PATCH] [Issue 255] Fix Notifiy also checking for /etc/HOSTNAME --- notify_templates/notify_v2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify_templates/notify_v2.sh b/notify_templates/notify_v2.sh index 5ff088f..4bcb0d2 100644 --- a/notify_templates/notify_v2.sh +++ b/notify_templates/notify_v2.sh @@ -40,7 +40,7 @@ done enabled_notify_templates=( "${!unique_templates[@]}" ) -FromHost=$(cat /etc/hostname) +FromHost=$(cat /etc/[hH][oO][sS][tT][nN][aA][mM][eE] 2>/dev/null) CurrentEpochTime=$(date +"%Y-%m-%dT%H:%M:%S") CurrentEpochSeconds=$(date +%s)