Switch network checks to use github rather than google

This commit is contained in:
natemaia
2018-06-02 12:23:25 -07:00
parent 3972b35c31
commit 63814f6a29
2 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ wireless_connected=""
ethernet_connected=""
while true; do
if ping -c1 www.google.com &>/dev/null; then
if ping -c1 www.github.com &>/dev/null; then
if (( count < 1 )); then
ID="$(ip link | awk '/state UP/ {print $2}')"
((count++))