+ struct stat changedbuf;
+
+ /* check sensors.conf for changes */
+ if (sensors_conf_loaded)
+ {
+ if (stat (conffile, &changedbuf) == -1)
+ {
+ syslog (LOG_ERR, MODULE_NAME": cannot stat %s: %s",
+ conffile, strerror(errno));
+ /*
+ * sensors.conf does not exist,
+ * throw away previous conf
+ */
+ sensors_load_conf (0);
+ }
+ else
+ {
+ if ((changedbuf.st_size != sensors_conf_stat.st_size) ||
+ (changedbuf.st_mtime != sensors_conf_stat.st_mtime) ||
+ (changedbuf.st_ino != sensors_conf_stat.st_ino))
+ {
+ sensors_load_conf (0);
+ }
+ }
+ }