| commit | 1a56865040cbd7526e021145f1e17d5b6579b190 | [log] [tgz] |
|---|---|---|
| author | Jolie Ku <jolie_ku@wistron.com> | Mon Aug 24 16:32:15 2020 +0800 |
| committer | Jolie Ku <jolie_ku@wistron.com> | Mon Aug 24 16:42:44 2020 +0800 |
| tree | b02a41a3193b4c17f37dfe501e5ff831c2aeeb77 | |
| parent | a916f039ece798876cece735f3f5bd923f824049 [diff] |
presence: Use shared JSON config file finding & loading header
Use the shared JSON config determination header for loading its
JSON configuration file.
Tested:
run phosphor-fan-presence-tach can find and load config.json from
/usr/share/phosphor-fan-presence/presence and
/etc/phosphor-fan-presence/presence/ in witherspoon qemu
Change-Id: I5c4fdf7d96de7c956ca24b4a5751911cc1bf1f03
Signed-off-by: Jolie Ku <jolie_ku@wistron.com>