summaryrefslogtreecommitdiff
path: root/lib/sensors.conf.5
diff options
context:
space:
mode:
authorFrodo Looijaard <frodol@dds.nl>1999-12-24 22:44:41 +0000
committerFrodo Looijaard <frodol@dds.nl>1999-12-24 22:44:41 +0000
commit8199abde46ecb9cc5b0ea5e2c4456c219ecd4bef (patch)
tree23a48ce561cdd103257b2b64365c3461eeb0e616 /lib/sensors.conf.5
parent01bad3825306a1f219cf13ac007246d7eda2f6ff (diff)
downloadlm-sensors-git-8199abde46ecb9cc5b0ea5e2c4456c219ecd4bef.tar.gz
New sensors.conf keyword 'ignore'
This often-asked for, long-planned and somewhat-forgotten feature makes it possible to tell libsensors-linked applications (like the sensors program) that certain features should not be displayed. This is very nice for things like unconnected temperature sensors or fans. Modifications to the library code, to the sensors program and to the documentation and example sensors.conf file. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@676 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/sensors.conf.5')
-rw-r--r--lib/sensors.conf.519
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/sensors.conf.5 b/lib/sensors.conf.5
index e6b356ee..da447842 100644
--- a/lib/sensors.conf.5
+++ b/lib/sensors.conf.5
@@ -57,6 +57,9 @@ compute
,
.B EXPR
.sp 0
+ignore
+.B NAME
+.sp 0
set
.B NAME EXPR
.RE
@@ -239,7 +242,7 @@ lm78\-*
.sp 0
*\-i2c\-10\-5e
.sp 0
-*\-i2c\-10-\*
+*\-i2c\-10\-*
.sp 0
*\-i2c\-*\-5e
.sp 0
@@ -283,6 +286,20 @@ statement applies, a one\-on\-one translation is used instead.
The comma is an unfortunate necessity to stop the statement from becoming
ambiguous.
+.SS IGNORE STATEMENT
+.RS
+ignore fan1
+.RE
+
+The
+.I ignore
+statement is a hint that a specific feature should be ignored - probably
+because it returns bogus values (for example, because a fan or temperature
+sensor is not connected).
+
+The only argument is the feature name, which may be a feature class;
+in that case the label class is used (see below).
+
.SS LABEL STATEMENT
.RS
label in3 "+5V"