Re: system sleep -> nm reacts too fast



On Wed, Jul 13, 2016 at 06:41:00PM +0200, Michael Hirmke wrote:
I tried
- the systemd sleep scripts (/usr/lib/systemd/system-sleep)
- the NetworkManager dispatcher scripts
  (/etc/NetworkManager/dispatcher.d)

Did you use a 'pre-down' script (see 'man NetworkManager' for the
details)? That should work as NM waits that the script returns before
continuing and bringing down the interface. If you used a script on
the 'down' event, it's called too late when the interface is already
down.

Beniamino

Attachment: signature.asc
Description: PGP signature



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