- change '-d ata' to '-d sat' in the config script for SATA drives
This commit is contained in:
parent
f3ee0eba2b
commit
084e3ed62b
@ -83,7 +83,7 @@ for drive in drives:
|
|||||||
driver = ''
|
driver = ''
|
||||||
comment = ''
|
comment = ''
|
||||||
if getfile("%s/device/vendor" % drive.sysfspath) == 'ATA':
|
if getfile("%s/device/vendor" % drive.sysfspath) == 'ATA':
|
||||||
driver = '-d ata'
|
driver = '-d sat'
|
||||||
if float(getfile("/sys/module/libata/version")) < 1.20:
|
if float(getfile("/sys/module/libata/version")) < 1.20:
|
||||||
comment = "# not yet supported in this kernel version\n# "
|
comment = "# not yet supported in this kernel version\n# "
|
||||||
if not comment:
|
if not comment:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Tools for monitoring SMART capable hard disks
|
Summary: Tools for monitoring SMART capable hard disks
|
||||||
Name: smartmontools
|
Name: smartmontools
|
||||||
Version: 5.37
|
Version: 5.37
|
||||||
Release: 8.3%{?dist}
|
Release: 8.4%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -109,6 +109,9 @@ exit 0
|
|||||||
%exclude %{_sbindir}/smartd-conf.py[co]
|
%exclude %{_sbindir}/smartd-conf.py[co]
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 15 2008 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.4
|
||||||
|
- change '-d ata' to '-d sat' in the config script for SATA drives
|
||||||
|
|
||||||
* Wed Dec 12 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.3
|
* Wed Dec 12 2007 Tomas Smetana <tsmetana@redhat.com> - 1:5.37-8.3
|
||||||
- fix #375791 - parameter warning for smartd in logwatch output
|
- fix #375791 - parameter warning for smartd in logwatch output
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user