|
|
|
Auto-disable AirPort when ethernet is active
When using this script on Snow Leopard, if I had wireless disabled, shutdown, unplugged the network cable, and then booted back up, the script didn't auto enable the airport like it will on Leopard. I found that the plist was loaded as the user and not root. I moved the plist from /System/Library/LaunchAgents to /System/Library/LaunchDaemons. Upon reboot, the plist was loaded as root and resolved the issue not enabling the airport.
Also, to ensure to force the script to check the state at logout/reboot, I created a script and set a LogoutHook to clear the prev_air_on and prev_eth_on files at log out:
|
SearchFrom our Sponsor...Latest Lion HintsWhat's New:HintsNo new hintsComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.09 seconds |
|