Use /etc/sensors3.conf as the default configuration file. If it can't

be found, fallback to /etc/sensors.conf. This allows for an old
libsensors and a new libsensors to be installed in parallel, and each
one has its own configuration file.

One important change here is that the default configuration file will
be installed as /etc/sensors3.conf by "make install".


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4990 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-10-25 09:59:05 +00:00
1 parent de00b0aad4
commit 35a5a7dbce
10 files changed
+31 -8

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@
MODULE_DIR := etc
ETCTARGET := $(MODULE_DIR)/sensors.conf.eg
ETCINSTALL := $(ETCDIR)/sensors.conf
ETCINSTALL := $(ETCDIR)/sensors3.conf
# No all rule
+1 -1
View File
@@ -367,7 +367,7 @@ BEGIN
if (defined $ARGV[0] && ($ARGV[0] eq '-h' || $ARGV[0] eq '--help')) {
print "Convert sensors.conf from lm-sensors 2 format to lm-sensors 3 format\n",
"Typical usage: sensors-conf-convert /etc/sensors.conf\n";
"Typical usage: sensors-conf-convert < /etc/sensors.conf > /etc/sensors3.conf\n";
exit 0;
}
}