This commit is contained in:
Vikash Sharma 2024-03-19 20:00:09 +02:00 committed by GitHub
commit 4e86fcd6b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,11 +9,11 @@ downtime="2"
online="0" online="0"
#setup colors #setup colors
cyan='\e[0;36m' cyan='\033[0;36m'
green='\033[92m' green='\033[92m'
red='\e[1;31m' red='\033[1;31m'
yellow='\e[0;33m' yellow='\033[0;33m'
orange='\e[38;5;166m' orange='\033[38;5;166m'
function chknet () { function chknet () {
echo -e "GET http://google.com HTTP/1.0\n\n" | nc google.com 80 > /dev/null 2>&1 echo -e "GET http://google.com HTTP/1.0\n\n" | nc google.com 80 > /dev/null 2>&1