[Pm-utils] pm-on-ac

Peter Jones pjones at redhat.com
Fri Apr 28 10:17:46 PDT 2006


On Fri, 2006-04-28 at 17:42 +0100, Richard Hughes wrote:
> 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...)

Actually, can you add it as "on_ac_power", so we preserve compatibility?
-- 
  Peter



More information about the Pm-utils mailing list