Last active
December 18, 2015 15:58
-
-
Save flores/5807712 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
# because this network wireless keeps dropping if we don't send http traffic | |
# over it instead of our own vpn | |
MYSITE="js.la" | |
sudo route add $(dig +short $MYSITE |head -1) gw 10.35.0.1 | |
while true; do | |
curl $MYSITE | |
sleep 1000 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment