|
|
AutoMount shares based on wireless network
You can actually get a script to run when certain elements of the network stack change. For example, if the IPv4 changes, the default interface, the location, and so on. For this purpose, I'll show the location change:
Add dict entry to /System -> Library -> SystemConfiguration -> Kicker.bundle -> Contents -> Resources -> Kicker.xml:
The specific item is in the array (Setup:/ is for the network location). For example you can add any or all of these items to get the script to run based on the item that changes:
Just remember that if any part of the script fails, kicker will disable it. You'll need to restart (or HUP configd).
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|