Switch network checks to use github rather than google
This commit is contained in:
@ -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++))
|
||||
|
Reference in New Issue
Block a user