[launchd-dev] Run job when network configuration changes

Quinn eskimo1 at apple.com
Mon Oct 29 12:43:20 PDT 2007


At 14:55 -0400 29/10/07, Jeremy Reichman wrote:
>Could this be used to run a job _once_ whenever the system's network
>configuration changes ... a laptop moves from wired to wireless, or moves
>from work to home, or the like? But run the same job each time the network
>config changes? I'm not quite sure from the description.

AFAICT this won't do what you want.  This option is triggered when 
the system transitions from zero IP interface to not zero IP 
interfaces, and vice versa.  It is not triggered, for example, when 
you transition from one IP address to a different one.

S+E
-- 
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


More information about the launchd-dev mailing list