Created
January 4, 2012 07:12
-
-
Save xream/1558911 to your computer and use it in GitHub Desktop.
restore routes
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 | |
oldgw=10.211.55.1 | |
vpngw=10.100.0.1 | |
poff | |
route del default gw $oldgw | |
route del default gw $vpngw | |
route add default gw $oldgw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment