[Pm-utils] pm-on-ac

Richard Hughes hughsient at gmail.com
Fri Apr 28 09:42:33 PDT 2006


On Fri, 2006-04-28 at 12:33 -0400, Peter Jones wrote:
> On Fri, 2006-04-28 at 17:04 +0100, Richard Hughes wrote:
> > In the spirit of making things simple, I'm suggesting porting
> > on_ac_power (written in C) to bash, so the whole of pm-utils can be arch
> > independent (no compiling).
> > 
> > The direct line-for-line conversion is attached, but please could
> > someone review and correct my primitive sh.
> 
> Slightly smaller and faster:

Thanks.

I'll add this to CVS and remove on_ac_power now. (Fedora might need a
symlink in the spec file...)

Richard.



More information about the Pm-utils mailing list