smartmontools: use standard subject in notification emails
This makes the notification script use the subject generated by smartmontools itself both for consistency with other distros and to include the hostname.
This commit is contained in:
parent
f1922cdbdc
commit
ea37c9caa1
|
@ -20,7 +20,7 @@ let
|
||||||
${pkgs.coreutils}/bin/cat << EOF
|
${pkgs.coreutils}/bin/cat << EOF
|
||||||
From: smartd on ${host} <${nm.sender}>
|
From: smartd on ${host} <${nm.sender}>
|
||||||
To: undisclosed-recipients:;
|
To: undisclosed-recipients:;
|
||||||
Subject: SMART error on $SMARTD_DEVICESTRING: $SMARTD_FAILTYPE
|
Subject: $SMARTD_SUBJECT
|
||||||
|
|
||||||
$SMARTD_FULLMESSAGE
|
$SMARTD_FULLMESSAGE
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue