usr/sbin/networksetup -setsecurewebproxy “$i” offĮcho “Turned off secure web proxy state for $i” usr/sbin/networksetup -setwebproxystate “$i” off usr/sbin/networksetup -setftpproxystate “$i” off # Disable specific proxy settings for for all other settings Others might find this useful to add to the script for themselves. I’ve added the following for my own needs to turn off any previously set explicitly defined proxies now that we are using a PAC file that works (previous version my company uses wasn’t working with the Mac uses). Networksetup -listallnetworkservices | grep “$” no need to set the pac file”Įxcellent script. Doesn’t work for me and looks very confusing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |