Update defaults.inc

This commit is contained in:
2023-03-19 10:04:47 -05:00
parent 4f4b509893
commit e510e449fa

View File

@@ -256,6 +256,14 @@ CERT-CHECK(){
fi
}
SENDNOTICE(){
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE}
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
$(date)" "${1}" ${3}
}