update
This commit is contained in:
10
defaults.inc
10
defaults.inc
@@ -1,5 +1,5 @@
|
||||
|
||||
VERS='1.108-05122023'
|
||||
VERS='1.109-05122023'
|
||||
|
||||
noupdate=' stop start _service '
|
||||
|
||||
@@ -41,3 +41,11 @@ MAINHOSTS=(${MAINHOSTS})
|
||||
SYSHOSTS=(${SYSHOSTS})
|
||||
unset IFS
|
||||
|
||||
SENDNOTICE(){
|
||||
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}
|
||||
|
||||
$(date)" "${1}" ${3} &
|
||||
|
||||
[ "${EMAIL_NOTICE}" != "" ] && echo -e "${2}\n\n$(date)" | mail -s "${1}" ${EMAIL_NOTICE}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user