network-watchexec
' 'network-watchexec
' is a scriptable OS X/macOS 'launchd(8)
' network-connection change notification watchdog daemon in the form of a simple, makeshift command-line utility. It listens for notifications of Wi-Fi network connection and disconnection events and runs scripts when it receives them.
Just clone the repository:
git clone -v --progress https://github.com/RandomDSdevel/network-watchexec.git "$FILESYSTEM_LOCATION_OF_YOUR_CHOICE"
To build 'network-watchexec
:'
(TO-DO/FIX ME: Provide usage instructions!)
Currently, the connection and disconnection event hook scripts this utility uses must exist and are hard-coded:
/usr/local/etc/network-watchexec/post-connection
.' /usr/local/etc/network-watchexec/post-disconnection
.' 'network-watchexec
' was inspired by: