mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -241,6 +241,8 @@ EOF
|
||||
|
||||
# Check if remote sites are available
|
||||
function fuCHECKNET {
|
||||
if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ] || [ "$myTPOT_DEPLOYMENT_TYPE" == "user" ];
|
||||
then
|
||||
local mySITES="$1"
|
||||
local myBACKTITLE="Availability check"
|
||||
mySITESCOUNT=$(echo $mySITES | wc -w)
|
||||
@ -263,6 +265,7 @@ function fuCHECKNET {
|
||||
let j+=1
|
||||
echo $(expr 100 \* $j / $mySITESCOUNT) | dialog --keep-window --title "[ Availability check ]" --backtitle "$myBACKTITLE" --gauge "\n Now checking: $i\n" 8 80
|
||||
done;
|
||||
fi
|
||||
}
|
||||
|
||||
# Install T-Pot dependencies
|
||||
@ -318,7 +321,6 @@ fi
|
||||
############################
|
||||
fuGOT_ROOT
|
||||
fuCHECKPACKAGES "$myPREINSTALLPACKAGES"
|
||||
fuCHECKNET "$myREMOTESITES"
|
||||
|
||||
#####################################
|
||||
# IV. Prepare installer environment #
|
||||
@ -418,6 +420,9 @@ if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
|
||||
dialog --keep-window --no-ok --no-cancel --backtitle "$myBACKTITLE" --title "[ Wait to avoid interference with service messages ]" --pause "" 6 80 7
|
||||
fi
|
||||
|
||||
# Check if remote sites are available
|
||||
fuCHECKNET "$myREMOTESITES"
|
||||
|
||||
# Let' s load the iso config file if there is one
|
||||
if [ -f $myCONF_FILE ];
|
||||
then
|
||||
|
Reference in New Issue
Block a user