Network Manager post-up script (dispatcher script)

2015-09-07 1 min read Fedora
Network manager is supposed to be much better than network, how so? it supports dnsmasq for one… Dnsmasq with netowrkmanager Local name resolution Also Network Manager supports dispatcher scripts. How can that help? For one, I used to send interface up emails. To do so, all I had to do was put the following script in “/etc/NetworkManager/dispatcher.d” #!/bin/sh cd /etc/sysconfig/network-scripts . ./network-functions [ -f ../network ] && . ../network # Notify programs that have requested notification IF=$1 STATUS=$2 cat