[launchd-dev] Run job when network configuration changes
Edward R. Marczak
marczak at radiotope.com
Thu Dec 6 06:28:59 PST 2007
On Dec 6, 2007, at 4:23 AM, Quinn wrote:
> At 1:57 -0500 6/12/07, Edward R. Marczak wrote:
>> How about /Library/Preferences/SystemConfiguration/preferences.plist
>
> That changes when the network /preferences/ change, not when the
> network state changes. For example, if someone plugs or unplugs the
> Ethernet, this file won't change.
Got it. I was basing this on Airport on/off which, in some situations
is good enough for me. That updates preferences.plist and can fire a
script.
Thanks.
--
Edward R. Marczak
e: marczak at radiotope.com
w: http://www.radiotope.com
b: http://www.radiotope.com/writing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/launchd-dev/attachments/20071206/6f5013ae/smime-0001.bin
More information about the launchd-dev
mailing list