Created
July 3, 2012 20:01
-
-
Save shostakovich/3042563 to your computer and use it in GitHub Desktop.
Freedom script for Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Enough of this filthy internet" | cowsay -s | |
sudo route -n delete default &> /dev/null |
By the way this require cowsay ;)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is this nice programm called freedom for the mac.
All it does is that it turns of the network. Heres a shell version of it. Turning internet on only requires a reboot... (Or you can add the dafault route back)