Update defaults.inc

This commit is contained in:
voltron committed 2023-03-19 12:39:54 -05:00
1 parent 967faa0fd7
commit 5f617f4719
1 file changed
+3 -2
+3 -2
View File
@@ -257,10 +257,11 @@ CERT-CHECK(){
} }
SENDNOTICE(){ SENDNOTICE(){
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE}
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2} [ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
$(date)" "${1}" ${3} $(date)" "${1}" ${3} &
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE}
} }