mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 14:31:56 +00:00
Update internet-check.sh
This commit is contained in:
parent
1f969e914c
commit
85beb59b11
@ -6,8 +6,8 @@ CM="${GN}✓${CL}"
|
|||||||
CROSS="${RD}✗${CL}"
|
CROSS="${RD}✗${CL}"
|
||||||
wget -q --tries=10 --timeout=5 --spider http://google.com
|
wget -q --tries=10 --timeout=5 --spider http://google.com
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
echo -e "${CM} Internet Online"
|
echo -e " ${CM} Internet Online"
|
||||||
else
|
else
|
||||||
echo -e "${CROSS} Internet Offline"
|
echo -e " ${CROSS} Internet Offline"
|
||||||
fi
|
fi
|
||||||
# bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/internet-check.sh)"
|
# bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/internet-check.sh)"
|
||||||
|
Loading…
Reference in New Issue
Block a user