Last active
April 23, 2020 16:54
-
-
Save ellisvalentiner/0bf6633d5d07abe56d37e65a6b12f8af to your computer and use it in GitHub Desktop.
Fix indentation
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 | |
while netstat -rn | grep -qi ${PROBLEM_IP}; do | |
sudo route -n flush | |
done | |
sudo ifconfig en0 down && sudo ifconfig en0 up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment