Merge 196db2c3f1 into 830ebf6bb1
This commit is contained in:
commit
4e86fcd6b8
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue