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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user