diff --git a/install.sh b/install.sh index bb5ddbe..43e57e5 100755 --- a/install.sh +++ b/install.sh @@ -12,8 +12,8 @@ # @@Description : Container installer script for traefik # @@Changelog : New script # @@TODO : Completely rewrite/refactor/variable cleanup -# @@Other : -# @@Resource : +# @@Other : +# @@Resource : # @@Terminal App : no # @@sudo/root : no # @@Template : installers/dockermgr @@ -44,7 +44,7 @@ CASJAYSDEVDIR="${CASJAYSDEVDIR:-/usr/local/share/CasjaysDev/scripts}" SCRIPTSFUNCTDIR="${CASJAYSDEVDIR:-/usr/local/share/CasjaysDev/scripts}/functions" SCRIPTSFUNCTFILE="${SCRIPTSAPPFUNCTFILE:-mgr-installers.bash}" SCRIPTSFUNCTURL="${SCRIPTSAPPFUNCTURL:-https://github.com/$SCRIPTS_PREFIX/installer/raw/main/functions}" -connect_test() { curl -q -ILSsf --retry 1 -m 1 "https://1.1.1.1" | grep -iq 'server:*.cloudflare' || return 1; } +connect_test() { curl -q -ILSsf --retry 1 --max-time 2 "https://1.1.1.1" 2>&1 | grep -iq 'server:*.cloudflare' || return 1; } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if [ -f "$PWD/$SCRIPTSFUNCTFILE" ]; then . "$PWD/$SCRIPTSFUNCTFILE"