From 23511412d8703246b4f26911b45686f9ead7126f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 18 Mar 2023 22:24:25 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 2ca1af2..7561c2b 100755 --- a/defaults.inc +++ b/defaults.inc @@ -48,8 +48,8 @@ MMUPDATECHECK(){ } SENDNOTICE(){ - # [ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE} - [ "${EMAIL_NOTICE}" != "" ] && push_to_mobile "${2} + [ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE} + [ "${PUSHOVER_APP_TOKEN}" != "" ] && push_to_mobile "${2} $(date)" "${1}" ${3}