On Sunday 13 of November 2011 20:08:28 Lamarque V. Souza wrote:
Hi,
I have received this bug in bugs.kde.org and I think it belongs to NM,
not Plasma NM:
https://bugs.kde.org/show_bug.cgi?id=286433
What I think is happening is that PowerDevil (KDE's power management
widget) triggers the sleep event in UPower, NetworkManager listens for that
event and goes to sleep before triggering the dispatch scripts in
/etc/NetworkManager/dispatcher.d. That causes some troubles when someone
needs to execute something before the connections are deactivated.
That problem can happen with any program that triggers UPower's sleep
event, so it is not Powerdevil specific.
Does NM have any way to execute scripts BEFORE deactivating a
connection? As far as I know NM executes the dispatch scripts only after
the connection has been deactivated, right?
Yeah, there are no pre-up or pre-down actions now in NM dispatcher scripts.
See more info in past discussions:
* https://bugzilla.gnome.org/show_bug.cgi?id=387832, comment 2
* http://mail.gnome.org/archives/networkmanager-list/2010-March/msg00261.html
Jirka
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list