[Pm-utils] Re: Newer version of pm-utils?

Peter Jones pjones at redhat.com
Wed Feb 7 09:26:11 PST 2007


On Wed, 2007-02-07 at 17:12 +0000, Richard Hughes wrote:
> On Wed, 2007-02-07 at 11:55 -0500, Peter Jones wrote:
> > Already applied this upstream.
> 
> Here's my patch... again :-)
> 
> Richard.


+checkproperty() {
+       property=$1
+       hal-get-property --udi /org/freedesktop/Hal/devices/computer --key $property &> /dev/null
+       echo $?
+}

there's no way to batch these, is there?

-- 
  Peter


More information about the Pm-utils mailing list