Created
October 5, 2014 04:21
-
-
Save bsmithyman/293c20de1e17c1e8ea2b to your computer and use it in GitHub Desktop.
OpenVPN down script to remove custom entry in table
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 | |
TUNNEL="tun0" | |
TABLE="tablename" | |
ROUTE=$(ip route list table $TABLE) | |
ip route del $ROUTE table $TABLE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment