2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 13:57:41 +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:
Mark D. Studebaker 2002-07-23 01:50:18 +00:00
parent 617eafff2a
commit f03e1104da
2 changed files with 5 additions and 2 deletions

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

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);