mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
add /usr/local/etc to sensors config file path as suggested
in a ticket git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1465 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
617eafff2a
commit
f03e1104da
2 files changed
+5
-2
No files matched your search
@@ -17,6 +17,9 @@ ask CVS about it:
|
|||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
2.6.5 (2002????)
|
||||||
|
Program sensors: Add /usr/local/etc to config file path
|
||||||
|
|
||||||
2.6.4 (20020719)
|
2.6.4 (20020719)
|
||||||
NOTE: Requires i2c-2.6.1 or newer, or kernel 2.4.13 or newer.
|
NOTE: Requires i2c-2.6.1 or newer, or kernel 2.4.13 or newer.
|
||||||
File doc/vid: New
|
File doc/vid: New
|
||||||
|
|||||||
+2
-2
@@ -35,8 +35,8 @@
|
|||||||
static char *config_file_name;
|
static char *config_file_name;
|
||||||
FILE *config_file;
|
FILE *config_file;
|
||||||
static const char *config_file_path[] =
|
static const char *config_file_path[] =
|
||||||
{ "/etc", "/usr/lib/sensors", "/usr/local/lib/sensors", "/usr/lib",
|
{ "/etc", "/usr/local/etc", "/usr/lib/sensors", "/usr/local/lib/sensors",
|
||||||
"/usr/local/lib", ".", 0 };
|
"/usr/lib", "/usr/local/lib", ".", 0 };
|
||||||
|
|
||||||
extern int main(int argc, char *arv[]);
|
extern int main(int argc, char *arv[]);
|
||||||
static void print_short_help(void);
|
static void print_short_help(void);
|
||||||
|
|||||||
Reference in new issue
Block a user