2008/1/27, Victor Lowther <[EMAIL PROTECTED]>: > 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? Cheers, Michael [1] 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? _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
