Skip to content

Instantly share code, notes, and snippets.

@ellisvalentiner
Last active April 23, 2020 16:54
Show Gist options
  • Save ellisvalentiner/0bf6633d5d07abe56d37e65a6b12f8af to your computer and use it in GitHub Desktop.
Save ellisvalentiner/0bf6633d5d07abe56d37e65a6b12f8af to your computer and use it in GitHub Desktop.
Fix indentation
#!/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