Majority of the periodic scripts output an empty line, following by a line that tells what they're doing before the actual program output. Smartctl's script is missing this part and atleast in all of my setups the output is right after NTP script's output.
I've included a small patch that makes smartmontools's periodic script output the empty line and title before running smartctl.
Fix: Patch /usr/local/etc/periodic/daily/smart with attached patch.
Patch attached with submission follows:
How-To-Repeat: Install sysutils/smartmontools, daily_status_smart_enable=y and see the daily run output mail.
Maintainer of sysutils/smartmontools,
Please note that PR ports/159022 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
i have nothing against this patch, please commit.
I'll take it.
sunpoet 2011-07-22 06:38:53 UTC
FreeBSD ports repository
- Update periodic script output
- Bump PORTREVISION for PLIST change
Submitted by: Ari <firstname.lastname@example.org>
Approved by: Alex Samorukov <email@example.com> (maintainer)
Revision Changes Path
1.52 +1 -1 ports/sysutils/smartmontools/Makefile
1.11 +3 -1 ports/sysutils/smartmontools/files/smart.in
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"