[Pm-utils] [patch commit]  POSIXification of pm-utils
victor.lowther at gmail.com
Sun Jan 27 18:21:32 PST 2008
On Jan 27, 2008 8:13 PM, Michael Biebl <mbiebl at gmail.com> wrote:
> 2008/1/27, Victor Lowther <victor.lowther at gmail.com>:
> > on_ac_power never returns 255, so simplify our test functions.
> The original on_ac_power binary does (and we use this binary in
> Debian), so I'd rather not remove this check for 255.
> One downside of the pm-utils on_ac_power is, that it relies on hal.
> So, maybe it would be a good idea to return 255, in case
> hal-find-by-capability is not installed?
Fair enough -- the question then turns into what do we want to do on a
255 return code?
On second thought, mainline never actually uses get_power_status
anywhere, so we could just remove it. Anyone remember what it was
originally used for?
>  http://linux-command.5w.cz/manual/on_ac_power
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
More information about the Pm-utils