commit | 0daedd1823b80a39e2f6c2d4546248ef8fe10a81 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Jan 25 14:46:03 2021 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon Jan 25 14:46:03 2021 -0600 |
tree | a54c8313111ef95b36a4038149773cde59774b2d | |
parent | 59850df356a9ef4db569716558947a2c70c48511 [diff] |
presence: Don't start until JSON config is found Make use of the JsonConfig class's callback functionality to not actually start fan presence checking until the config file is available. If the config file name is known right away, then monitoring will start right away, but if it has to wait for the IBMCompatible interface to show up on D-bus first, it will wait for that. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic00bbf56a092983f93968b08bcbcaa848e4d085a