12k/osx-proxy — pull request #5 by zph (2012-12-17 02:42:37+00:00)
Title: Moved code into functions and added toggle ability

Thanks for writing the initial code for this! It's just what I need when using open-wifi.

I moved the code into functions, changed the if to a case statement, and added the ability to use ./proxy without any argument to toggle the current state. I also prefer to keep authorizations out of my code files and added notes for how others can do this.

-ZPH