Created
October 12, 2011 06:11
-
-
Save gumayunov/1280422 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/zsh | |
VPNWORK="192.168.10.1" | |
if [[ $IPREMOTE = $VPNWORK ]]; then | |
/sbin/route add 192.168.166.0/24 192.168.10.1 > /tmp/ppp.log 2>&1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/etc/ppp/ip-up