Running dispatch scripts before sleeping



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?

 

--

Lamarque V. Souza

KDE's Network Management maintainer

http://planetkde.org/pt-br



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]