presence: Clarify config file determination
Update how which config file to use is determined within the
getConfFile() function.
Tested: N/A
Change-Id: Id64a06e9d91c77053ecb60816ab2705d8cf958fb
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/presence/json_config.hpp b/presence/json_config.hpp
index 0a921e0..f9e1df6 100644
--- a/presence/json_config.hpp
+++ b/presence/json_config.hpp
@@ -104,11 +104,13 @@
/**
* Get the json configuration file. The first location found to contain
* the json config file is used from the following locations in order.
- * 1.) confOverridePath ("/etc/phosphor-fan-presence/presence")
- * 2.) confBasePath ("/usr/share/phosphor-fan-presence/presence")
- * 3.) From first dbus object found hosting
+ * 1.) From the confOverridePath location
+ * 2.) From config file found using property value(s) as a relative
+ * path extension on the base path from the dbus object where:
+ * path = Path set in confDbusPath
* interface = Interface set in confDbusIntf
* property = Property set in confDbusProp
+ * 3.) *DEFAULT* - From the confBasePath location
*/
const fs::path getConfFile();