]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - debian/patches/63_removable.patch
import smartmontools 7.0
[mirror_smartmontools-debian.git] / debian / patches / 63_removable.patch
1 From: Giuseppe Iuculano <iuculano@debian.org>
2 Date: Thu, 27 Sep 2018 19:03:07 +0800
3 Subject: _removable
4
5 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.
6
7 Closes: #406130
8 ---
9 smartd.conf | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/smartd.conf b/smartd.conf
13 index 59addd4..4cdede7 100644
14 --- a/smartd.conf
15 +++ b/smartd.conf
16 @@ -18,7 +18,7 @@
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.