Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Need location-change triggered events' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Need location-change triggered events
Authored by: cynikal on Dec 04, '02 05:35:10PM

or you could have done it in a one liner:

scselect 2>&1|awk '$1 ~ /^\*$/ {print $3}'|sed -e 's/[)(]//g'

If you want it to be called whenever the location changes, why not edit the script

/System/Library/SystemConfiguration/Kicker.bundle/Resources/set-hostname

so that it calls you're own script to perform whatever you need done when the location is changed.



[ Reply to This | # ]