]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - debian/patches/63_removable.patch
Refresh original patches with new upstream release
[mirror_smartmontools-debian.git] / debian / patches / 63_removable.patch
CommitLineData
4c436a28
SL
1From: Giuseppe Iuculano <iuculano@debian.org>
2Date: Thu, 27 Sep 2018 19:03:07 +0800
3Subject: _removable
4
5afdd108
GI
5Added 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.
6
7Closes: #406130
4c436a28
SL
8---
9 smartd.conf | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/smartd.conf b/smartd.conf
13index 59addd4..4cdede7 100644
901fe9c1
GI
14--- a/smartd.conf
15+++ b/smartd.conf
b5b85bae 16@@ -18,7 +18,7 @@
5afdd108
GI
17 # Directives listed below, which will be applied to all devices that
18 # are found. Most users should comment out DEVICESCAN and explicitly
19 # list the devices that they wish to monitor.
20-DEVICESCAN -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
21+DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
22
23 # Alternative setting to ignore temperature and power-on hours reports
24 # in syslog.