Subject: CVS commit: src/usr.sbin/envstat
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 10/09/2007 08:00:46
Module Name:	src
Committed By:	xtraeme
Date:		Tue Oct  9 08:00:46 UTC 2007

Modified Files:
	src/usr.sbin/envstat: config.c envsys.conf.5

Log Message:
- Do not allow a 'critical-{max,min}' property in battery
  sensors (those that contain the 'want-percentage' object on its
  dictionary), the 'critical-capacity' prop must be used instead.

- When setting a 'critical-{max,min}' property check if the value is
  higher than the 'max-value' or lower than the 'min-value' on its
  dictionary, raise an error if it's true.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.sbin/envstat/config.c
cvs rdiff -r1.3 -r1.4 src/usr.sbin/envstat/envsys.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.