Created
January 8, 2015 19:01
-
-
Save dyoung522/afe2a2cd413fe6945c3d to your computer and use it in GitHub Desktop.
Add a permanent static route to OS X 10.10
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 | |
sudo /sbin/route add -net x.x.x.0/24 xxx.xxx.xxx.xxx | |
# Save this file somewhere and make it executable (chmod a+x <file>) | |
# Then run 'sudo defaults write com.apple.loginwindow LoginHook /Path/To/Your/Script' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment