Skip to content

Instantly share code, notes, and snippets.

@shostakovich
Created July 3, 2012 20:01
Show Gist options
  • Save shostakovich/3042563 to your computer and use it in GitHub Desktop.
Save shostakovich/3042563 to your computer and use it in GitHub Desktop.
Freedom script for Mac OS X
#!/bin/bash
echo "Enough of this filthy internet" | cowsay -s
sudo route -n delete default &> /dev/null
@shostakovich
Copy link
Author

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)

@shostakovich
Copy link
Author

By the way this require cowsay ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment