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:
Mark D. Studebaker committed 2002-07-23 01:50:18 +00:00
1 parent 617eafff2a
commit f03e1104da
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -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)
NOTE: Requires i2c-2.6.1 or newer, or kernel 2.4.13 or newer.
File doc/vid: New
+2 -2
View File
@@ -35,8 +35,8 @@
static char *config_file_name;
FILE *config_file;
static const char *config_file_path[] =
{ "/etc", "/usr/lib/sensors", "/usr/local/lib/sensors", "/usr/lib",
"/usr/local/lib", ".", 0 };
{ "/etc", "/usr/local/etc", "/usr/lib/sensors", "/usr/local/lib/sensors",
"/usr/lib", "/usr/local/lib", ".", 0 };
extern int main(int argc, char *arv[]);
static void print_short_help(void);