New answers tagged suspend
If you use NetworkManager, you can write scripts that execute on a network interface coming up or going down. NetworkManager will execute scripts in the /etc/NetworkManager/dispatcher.d directory in alphabetical order in response to network events. Each script should be (a) a regular file, (b) owned by root, (c) not writable by group or other, (d) ...
Top 50 recent answers are included