NetBSD/usr.sbin/envstat
pgoyette 6d65ba8398 1. provide for warning-min and warning-max alarm levels in addition to
critical-min and critical-max; also, a battery warning-capacity is
   added in addition to a critical-capacity.

2. usr.sbin/envstat is modified to introduce a -W command line switch to
   display the warning-* values instead of the critical-* values, and
   envstat(8) and envsys.conf(5) man pages are updated appropriately.

3. Treat user-defined limits as a single continuum and generate a single
   event regardless of how many boundaries a change in sensor value
   crosses;  ditto for driver-defined limits.

Fixes my PR/39021
Fixes my PR/39022

OK'd by christos@ bouyer@ cube@
2008-08-22 11:27:50 +00:00
..
Makefile Pass -I${.CURDIR} -I. like others do. 2007-10-07 12:19:37 +00:00
config.c 1. provide for warning-min and warning-max alarm levels in addition to 2008-08-22 11:27:50 +00:00
config_lex.l 1. provide for warning-min and warning-max alarm levels in addition to 2008-08-22 11:27:50 +00:00
config_yacc.y include <stdlib.h> explicitely, for exit(), getprogname() etc. 2008-07-17 16:24:55 +00:00
envstat.8 1. provide for warning-min and warning-max alarm levels in addition to 2008-08-22 11:27:50 +00:00
envstat.c 1. provide for warning-min and warning-max alarm levels in addition to 2008-08-22 11:27:50 +00:00
envstat.h Implement the 'refresh-timeout' property in device blocks for the 2007-11-16 08:01:37 +00:00
envsys.conf.5 1. provide for warning-min and warning-max alarm levels in addition to 2008-08-22 11:27:50 +00:00