diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/63_removable.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/63_removable.patch b/debian/patches/63_removable.patch new file mode 100644 index 0000000..048fa52 --- /dev/null +++ b/debian/patches/63_removable.patch @@ -0,0 +1,24 @@ +From: Giuseppe Iuculano <iuculano@debian.org> +Date: Thu, 27 Sep 2018 19:03:07 +0800 +Subject: _removable + +Added the removable option by default. This indicates to smartd that it should continue if the device does not appear to be present when smartd is started. + +Closes: #406130 +--- + 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 -n standby -m root -M exec /usr/share/smartmontools/smartd-runner ++DEVICESCAN -d removable -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 |