Created
July 20, 2016 11:32
-
-
Save splashx/ad2f3f9bc79e37d28c67ac3315ee31a6 to your computer and use it in GitHub Desktop.
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/sh | |
# | |
VPN_GW=80.249.164.89 | |
if [ "${5:-}" = "${VPN_GW}" ] | |
then | |
/sbin/route add 80.249.164.0/24 $4 &> /tmp/ip-up | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment