diff options
author | Christian Hesse <mail@eworm.de> | 2023-12-04 22:21:51 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-12-05 00:11:19 +0100 |
commit | d3611cebbd6ae725b209bbc82a65751d8e8f5770 (patch) | |
tree | 066e77e26c24274efff1875ade050e67c622a6c8 /doc/check-certificates.d/notification.avif | |
parent | 9fb596135e335f0ca4cfc1a8ad6047b58ba319d5 (diff) |
mod/notification-email: $NotificationFunctions->"email": support hook for signature
You can compose your own signature by creating a function:
:global NotificationEMailSignature do={
:global EitherOr;
:local RouterBoard [ /system/routerboard/get ];
:return ( \
[ $EitherOr ($RouterBoard->"board-name") ($RouterBoard->"model") ] . " s/n " . $RouterBoard->"serial-number" . " | " . \
"RouterOS " . [ /system/package/update/get installed-version ] . " | " . \
"IP " . [ /ip/cloud/get public-address ]);
}
Diffstat (limited to 'doc/check-certificates.d/notification.avif')
0 files changed, 0 insertions, 0 deletions