From f03e1104dabd9de73be3a22d112c6cdfc69f2fd9 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Tue, 23 Jul 2002 01:50:18 +0000 Subject: [PATCH] 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 --- CHANGES | 3 +++ prog/sensors/main.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 6dac2ef5..8f038acb 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/prog/sensors/main.c b/prog/sensors/main.c index a7b2a5e9..d9b8dd4c 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -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);