From fb36fe4f9525a44d1b764f547e8ef6559e5742e7 Mon Sep 17 00:00:00 2001 From: brutus-downunder Date: Sat, 4 Feb 2023 00:37:13 +1300 Subject: [PATCH] Update debian-config (#186) Changed Line 26 to add connection/retry timeouts to stop the connection from hanging and allow following code to be executed --- debian-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian-config b/debian-config index ae55ab5..c546faf 100755 --- a/debian-config +++ b/debian-config @@ -23,7 +23,7 @@ fi # # check for internet connection to install dependencies # -wget -q --spider http://github.com +wget -q -t 1 --timeout=5 --spider http://github.com if [[ $? -ne 0 ]]; then read -n 1 -s -p "Warning: Configuration cannot work properly without a working internet connection. \ Press CTRL C to stop or any key to ignore and continue."