mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
Add SENSORS_SYSFS_ROOT environment support
With this the hardcoded /sys location for reading sensor data can be changed. In particular it makes it possible to tar up the /sys directory when a problem is encountered, and then reproduce it on another system. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
This commit is contained in:
1 parent
25108fe4a4
commit
89548dab2a
2 files changed
+27
-4
No files matched your search
+1
-1
@@ -22,7 +22,7 @@
|
||||
#ifndef LIB_SENSORS_SYSFS_H
|
||||
#define LIB_SENSORS_SYSFS_H
|
||||
|
||||
extern char sensors_sysfs_mount[];
|
||||
extern const char *sensors_sysfs_mount;
|
||||
|
||||
int sensors_init_sysfs(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user