diff --git a/smartd-conf.py b/smartd-conf.py index 271efdc..5837812 100755 --- a/smartd-conf.py +++ b/smartd-conf.py @@ -83,7 +83,7 @@ for drive in drives: driver = '' comment = '' if getfile("%s/device/vendor" % drive.sysfspath) == 'ATA': - driver = '-d ata' + driver = '-d sat' if float(getfile("/sys/module/libata/version")) < 1.20: comment = "# not yet supported in this kernel version\n# " if not comment: diff --git a/smartmontools.spec b/smartmontools.spec index f389c4e..ec272dd 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,7 +1,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 5.37 -Release: 8.3%{?dist} +Release: 8.4%{?dist} Epoch: 1 Group: System Environment/Base License: GPLv2+ @@ -109,6 +109,9 @@ exit 0 %exclude %{_sbindir}/smartd-conf.py[co] %changelog +* Tue Jan 15 2008 Tomas Smetana - 1:5.37-8.4 +- change '-d ata' to '-d sat' in the config script for SATA drives + * Wed Dec 12 2007 Tomas Smetana - 1:5.37-8.3 - fix #375791 - parameter warning for smartd in logwatch output