On Mon, Dec 8, 2014 at 11:47 AM, David Higgs <hig...@gmail.com> wrote:

>
> sysctl(8) will display Off if the value is zero, and On for nonzero.
> So, using the "closed interval" rule above, you should use "high=0"
> for indicators that you consider in "good" state when Off (i.e.
> ShutdownImminent), and "low=1" for indicators that you consider in
> "good" state when On (i.e. ACPresent).
>
>
Isn't saying high=0 kind of the same thing as saying low=1?
Why is there a high/low for binary indicators at all?  If the state
changes, execute the command.  Let the command read the state and
determine, based on which indicator it is, if that state is a good thing or
a bad thing.

Tim.

Reply via email to