[Pm-utils] Re: Newer version of pm-utils?
Richard Hughes
hughsient at gmail.com
Wed Feb 7 09:32:30 PST 2007
On Wed, 2007-02-07 at 12:26 -0500, Peter Jones wrote:
> 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?
Well, you could use "lshal | grep power_management" and filter that, but
it's a right bodge.
Richard.
More information about the Pm-utils
mailing list