[Pm-utils] Add --print-reply to dbus-send to avoid dropping the message
victor.lowther at gmail.com
Fri Sep 19 07:57:22 PDT 2008
On Fri, 2008-09-19 at 15:41 +0200, Stefan Seyfried wrote:
> On Fri, Sep 19, 2008 at 10:16:58AM +0100, Richard Hughes wrote:
> > Trivial patch attached to fix behaviour of dbus-send. Description and
> > solution in patch. Please review.
> I think the --print-reply was removed, since it would slow down suspending
> Couldn't we - at least for the suspend case - just put the dbus-send
> into the background? NM should be set to offline by g-p-m or kpowersave
> already anyway before pm-utils come into play, shouldn't it?
g-p-m appears to have done so for the last 3 years.
Does network manager have a d-bus method that we can use to query its
current state? If so, might be better to see if network manager is
already asleep, and do nothing on suspend/resume if that is the case.
Also, email referenced in the patch was from last March -- has d-bus
been fixed since then?
Ubuntu Certified Professional
More information about the Pm-utils