[Issue 255] Fix Notifiy also checking for /etc/HOSTNAME

This commit is contained in:
smoochy 2026-01-23 16:32:47 +01:00
parent 4e0b705b8b
commit 7abc8d2b89

View file

@ -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)