[launchd-dev] Run job when network configuration changes

Louis Granboulan louis.granboulan at gmail.com
Thu Dec 13 07:24:19 PST 2007

Le 5 déc. 07 à 16:04, Jeremy Reichman a écrit :
> I would be just as happy if there were a file that was consistently  
> and
> reliably modified during network changes, so that the WatchPaths  
> key could
> be used. I'm not aware of such a file and past discussions about  
> this on the
> MacEnterprise list haven't turned one up (to my recollection), but  
> that
> doesn't mean it doesn't exist.

Maybe /private/var/run/resolv.conf (which is also /var/run/ 
resolv.conf and /etc/resolv.conf)

By the way, has anyone a comprehensive reference on how name  
resolving is parameterized in MacOSX? For example, who changes the  
resolv.conf file, and who uses it?


More information about the launchd-dev mailing list