From 7bee855aca5ee75f2b29c835f0cc3ac0499086a0 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 3 Jun 2025 22:44:44 -0500 Subject: [PATCH] Update emulator-sync-scripts.sh --- emulator-sync-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emulator-sync-scripts.sh b/emulator-sync-scripts.sh index c265969..45c2c1e 100755 --- a/emulator-sync-scripts.sh +++ b/emulator-sync-scripts.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERS='1.1.14-05262025' +VERS='1.1.15-06032025' source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc @@ -13,7 +13,8 @@ ES_LOGFOLDER="${ES_FOLDER}/logs" SENDNOTICE(){ [ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2} -$(date)" "${1}" ${3} & + +[$(hostname -f)] $(date)" "${1}" ${3} & [ "${EMAIL_NOTICE}" != "" ] && echo -e "${1}\n\n$(date)" | mail -s "${2}" ${EMAIL_NOTICE}