Network Manager post-up script (dispatcher script)
1 min read
Network manager is supposed to be much better than network, how so?
it supports dnsmasq for one…
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
Tags: dispatcher Fedora NetworkManager
- 2015/08/27 dnsmasq local name resolution with NetworkManager
- 2015/08/17 bash – expand shell variables ( bash bug resolved )
- 2015/07/09 evvsubst – substitute variables in text in shell
- 2015/06/29 Easily monitor and archive your system log reports.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.