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


Click here to return to the 'Toggle a proxy server on and off via scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Toggle a proxy server on and off via scripts
Authored by: jmbakker on Oct 06, '11 04:23:52AM

I used the script and it worked nicely under Snow Leopard. Under Lion, the script networksetup no longer recognizes the device "Airport", which is renamed "Wi-Fi". To fix the ToggleProxy App
edit the following script:

ToggleProxy.app/Contents/Resources/Scripts/script.bash

and replace the line

#device="Airport"

with

device="Wi-Fi"

It then works as expected with Lion



[ Reply to This | # ]