]> git.ipfire.org Git - ipfire-2.x.git/commit
collectd: run sensors-detect in background
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 25 Mar 2020 06:35:38 +0000 (07:35 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 26 Mar 2020 09:43:10 +0000 (09:43 +0000)
commita3b07005c11938f426e208be42cf32bcbc62da31
treed54e03b8094dfe679876b476744b52f7ea350219
parenta7e9342c18397f7a0dd93c842171aaa7cccbb612
collectd: run sensors-detect in background

on some machines the i2c sensor search take very long time
which cause hang at first boot.

Now the search is started in background and waited for max one
minute before continue load of collectd.
On such machines collectd will not get all sensors at first startup.

fixes #12329

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/system/collectd