Update internet-check.sh

This commit is contained in:
tteckster 2022-04-24 04:34:12 -04:00 committed by GitHub
parent 1f969e914c
commit 85beb59b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ CM="${GN}✓${CL}"
CROSS="${RD}${CL}"
wget -q --tries=10 --timeout=5 --spider http://google.com
if [[ $? -eq 0 ]]; then
echo -e "${CM} Internet Online"
echo -e " ${CM} Internet Online"
else
echo -e "${CROSS} Internet Offline"
echo -e " ${CROSS} Internet Offline"
fi
# bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/internet-check.sh)"