JeroenVanMeeuwen/NetworkManagerDispatcherScripts

NetworkManagerDispatcher Scripts
In an attempt to make NetworkManager work for situations in which you want to detect to what network the computer running NetworkManager is connected, and start / stop / configure certain services such as autofs, ypbind, etc., you can use scripts that are run by NetworkManagerDispatcher, a service which triggers scripts when NetworkManager detects a link coming up or going down.

Possible use cases
First of all, mobile users come to mind. Given a laptop and a home network environment in which YP and NFS shared home directories are being used, one could want these services being used then the laptop connects to the home network environment, but to prevent large interruptions when not being connected to the home network, these services may only be started when the laptop is connected to the home network environment.

NetworkManagerDispatcherScripts (nmdscripts) wants to build a framework of scripts that can be used in those situations.

Network Characteristics
Network Characteristics can be determined by:
 * Network Address
 * Network Mask
 * Similar to these are IP Address and Broadcast Address
 * Network SSID (wireless only)
 * Interface name (connect eth0 to 10.10.10.0/24 and / or connect ath0 to 10.10.11.0/24)
 * DHCP Server(s) (if any)
 * DNS Server(s) (if any)

Source Repo
This is an entirely new project, and has thus not yet got a good code-base. Nonetheless, there's a source repo at:

git://git.kanarip.com/nmdscripts