mirror of
https://github.com/armbian/config.git
synced 2026-01-06 09:53:35 -08:00
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
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user