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
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ let
|
|||
${pkgs.coreutils}/bin/cat << EOF
|
||||
From: smartd on ${host} <${nm.sender}>
|
||||
To: undisclosed-recipients:;
|
||||
Subject: SMART error on $SMARTD_DEVICESTRING: $SMARTD_FAILTYPE
|
||||
Subject: $SMARTD_SUBJECT
|
||||
|
||||
$SMARTD_FULLMESSAGE
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue