From 9f2cdf3fe74b0c171d3d7ff8b906ab4baafdf1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Fri, 4 Dec 2020 17:29:41 +0100 Subject: [PATCH] Deleting check_connection methond - nonsense to use it --- install.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/install.sh b/install.sh index bafb4da..bae95d9 100644 --- a/install.sh +++ b/install.sh @@ -38,19 +38,6 @@ check_operating_system() { fi } -check_connection() { - # Checking internet connectivity to install - # TinyCheck dependencies - - echo -e "\e[39m[+] Checking internet connectivity to install dependencies\e[39m" - if nc -zw1 example.com 443; then - echo -e "\e[92m [✔] Internet link is connected\e[39m" - else - echo -e "\e[91m [✘] No internet connection, exiting.\e[39m" - exit 1 - fi -} - create_directory() { # Create the TinyCheck directory and move the whole stuff there. echo -e "[+] Creating TinyCheck folder under /usr/share/" @@ -345,7 +332,6 @@ if [[ $EUID -ne 0 ]]; then else welcome_screen check_operating_system - check_connection check_wlan_interfaces create_directory check_dependencies