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

Click here to return to the 'Auto-disable AirPort when ethernet is active' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Auto-disable AirPort when ethernet is active
Authored by: Levitz on Sep 23, '11 03:03:59AM
Tried this, all works until loading it:

sudo launchctl load /System/Library/LaunchDaemons/com.mine.toggleairport.plist

launchctl: Dubious ownership on file (skipping): /System/Library/LaunchDaemons/com.mine.toggleairport.plist nothing found to load

Any ideas?

[ Reply to This | # ]
Auto-disable AirPort when ethernet is active
Authored by: TenOf11 on Oct 15, '12 11:35:49AM
I know this is an old post, but wanted to provide some additional information based on my experience implementing this method.

I see the following:
  • The plist file in the code provided is in LaunchDaemons. (not per instructions)
  • The owner of the plist file is something other than root. (not defined in instructions)
To correct the first, move the file:
sudo mv /System/Library/LaunchDaemons/com.mine.toggleairport.plist /System/Library/LaunchAgents/
To correct the second (after the first is done), change the owner on the plist file:
sudo chown root /System/Library/LaunchAgents/com.mine.toggleairport.plist

[ Reply to This | # ]