summaryrefslogtreecommitdiffstats
path: root/debian/patches/53_use-smartd-runner-by-default.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:14:48 +0000
commit9021c15fadb3638b6d118fdba8cf19cc4ca9e063 (patch)
tree3971b5280a3877d4d1c9d1b729f860c6c4752d54 /debian/patches/53_use-smartd-runner-by-default.diff
parentAdding upstream version 7.4. (diff)
downloadsmartmontools-debian.tar.xz
smartmontools-debian.zip
Adding debian version 7.4-2.debian/7.4-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/53_use-smartd-runner-by-default.diff')
-rw-r--r--debian/patches/53_use-smartd-runner-by-default.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/53_use-smartd-runner-by-default.diff b/debian/patches/53_use-smartd-runner-by-default.diff
new file mode 100644
index 0000000..40520ba
--- /dev/null
+++ b/debian/patches/53_use-smartd-runner-by-default.diff
@@ -0,0 +1,21 @@
+From: Giuseppe Iuculano <iuculano@debian.org>
+Date: Thu, 27 Sep 2018 19:03:07 +0800
+Subject: _use-smartd-runner-by-default
+
+---
+ smartd.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/smartd.conf
++++ b/smartd.conf
+@@ -14,9 +14,9 @@
+ # ATA and SCSI devices. DEVICESCAN may be followed by any of the
+ # Directives listed below, which will be applied to all devices that
+ # are found. Most users should comment out DEVICESCAN and explicitly
+ # list the devices that they wish to monitor.
+-DEVICESCAN
++DEVICESCAN -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
+
+ # Alternative setting to ignore temperature and power-on hours reports
+ # in syslog.
+ #DEVICESCAN -I 194 -I 231 -I 9