Hi Andrei,
25.10.2019 22:21, Michael Hirmke ?????:
Hi *,
I need a place, where I can hook up a script that runs before a VPN connection goes down in case the system is suspended.
So far I tried to use - systemd/system-sleep/myscript -> is run before systems goes to sleep, but too late to handle connections, because NetworkManager has already stopped them all - NetworkManager/dispatcher.d/myscript NetworkManager/dispatcher.d/pre-[up|down]myscript -> is run, but vpn-pre-down is never called
Which fully agrees with documentation.
Scripts acting on this event must be placed or symlinked into the /etc/NetworkManager/dispatcher.d/pre-down.d directory
that is what I wanted to say - it isn't executed despite the fact, that it is symlinked to pre-down.d. It should read - NetworkManager/dispatcher.d/myscript NetworkManager/dispatcher.d/pre-[up|down].d/myscript ^^^ Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org