Browse Source

Update internet-check.sh

tteckster 3 years ago
parent
commit
1f969e914c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      misc/internet-check.sh

+ 3 - 0
misc/internet-check.sh

@@ -1,4 +1,7 @@
 #!/usr/bin/env bash -ex
 #!/usr/bin/env bash -ex
+RD=`echo "\033[01;31m"`
+CL=`echo "\033[m"`
+GN=`echo "\033[1;92m"`
 CM="${GN}✓${CL}"
 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