Last active
December 23, 2015 23:49
-
-
Save ppp0/6712828 to your computer and use it in GitHub Desktop.
Installing a if-up script for macosx ppp (used for VPN)
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 | |
OUTFILE='/etc/ppp/ip-up' | |
cat >${OUTFILE} <<EOF | |
#!/bin/sh | |
/sbin/route add 10.55.40.128/16 -interface \$1 | |
EOF | |
chmod +x ${OUTFILE} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment