>>>>> "LuKreme" == LuKreme <[email protected]> writes:
LuKreme> On 5-Oct-2010, at 14:57, Scott G. Lewis wrote: >> I realize there's a whole career path for argumentative IT guys, but that's >> just not always the right approach. Sometimes you can just say "hey boss, >> this will almost certainly never happen (boss reply: i know, i know), but i >> can fix it in about 5 minutes". LuKreme> You can script if it nothing else. LuKreme> Just check for the status of the Ethernet (en0) and if it is active, turn off the wifi (en1). LuKreme> Throw a LaunchAgent together to call it every 20 seconds or so… LuKreme> Something like this (untested) LuKreme> if ifconfig en0 | grep "status: active"; LuKreme> then /usr/sbin/netwroksetup -setairportpower off LuKreme> fi You only need to check when the net configuration changes. There's a script for that on today's macosxhints.com of all things: http://hints.macworld.com/article.php?story=20100927161027611 -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion _______________________________________________ MacOSX-admin mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-admin
