Delete internet-check.sh

This commit is contained in:
tteckster 2022-04-24 07:19:53 -04:00 committed by GitHub
parent 85beb59b11
commit 7cf11056c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +0,0 @@
#!/usr/bin/env bash -ex
RD=`echo "\033[01;31m"`
CL=`echo "\033[m"`
GN=`echo "\033[1;92m"`
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"
else
echo -e " ${CROSS} Internet Offline"
fi
# bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/internet-check.sh)"