final tweaks to notification addons

This commit is contained in:
yoyoma2
2024-01-03 12:41:18 -05:00
parent fc7b2888f1
commit 2e620cd2c0
2 changed files with 5 additions and 5 deletions

View File

@ -15,15 +15,15 @@ ssmtp $SendMailTo << __EOF
From: "$FromHost" <$SendMailTo>
date:$(date -R)
To: <$SendMailTo>
Subject: [diskstation] Some docker packages need to be updated
Subject: [diskstation] Some docker containers need to be updated
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
The following docker packages on $FromHost need to be updated:
The following docker containers on $FromHost need to be updated:
"$UpdToString"
$UpdToString
From $FromHost
From $FromHost
__EOF
}

View File

@ -9,5 +9,5 @@ send_notification() {
# platform specific notification code would go here
printf "\n%bGeneric notification addon:%b" "$c_green" "$c_reset"
printf "\nThe following docker packages on %s need to be updated:\n%s\n" "$FromHost" "$UpdToString"
printf "\nThe following docker containers on %s need to be updated:\n%s\n" "$FromHost" "$UpdToString"
}