Commit 5743a9da authored by chrfranke's avatar chrfranke
Browse files

smartd.cpp: Also prevent systemd unit startup timeout in `CheckDevicesOnce`.

Patch by GH user 'themylogin' (GH pull/141).

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5401 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 4477aaab
$Id$
2022-08-06 themylogin <themylogin@gmail.com>
smartd.cpp: Also prevent systemd unit startup timeout in
`CheckDevicesOnce` (GH pull/141).
2022-08-06 Christian Franke <franke@computer.org>
drivedb.h:
......
......@@ -3956,6 +3956,9 @@ static void CheckDevicesOnce(const dev_config_vector & configs, dev_state_vector
SCSICheckDevice(cfg, state, dev->to_scsi(), allow_selftests);
else if (dev->is_nvme())
NVMeCheckDevice(cfg, state, dev->to_nvme());
// Prevent systemd unit startup timeout when checking many devices on startup
notify_extend_timeout();
}
do_disable_standby_check(configs, states);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment