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
This commit is contained in:
Frodo Looijaard committed 1999-12-24 22:44:41 +00:00
1 parent 01bad38253
commit 8199abde46
10 files changed
+648 -376

No files matched your search

+5
View File
@@ -124,6 +124,11 @@ OCTESC (1[0-7]{0,2})|([2-7][0-7]?)|(0[1-7][0-7]?)|(00[1-7])
BEGIN(MIDDLE);
return CHIP;
}
<INITIAL>"ignore" {
sensors_yylval.line = sensors_yylineno;
BEGIN(MIDDLE);
return IGNORE;
}
/* Anything else at the beginning of a line is an error */
<INITIAL>. {