on re-getting blockchain dont continue setup

This commit is contained in:
rootzoll 2019-02-14 16:39:01 +01:00
parent bdb6013458
commit dc670a592a
4 changed files with 20 additions and 14 deletions

View File

@ -204,5 +204,7 @@ else
fi
# setup script will decide the next logical step
./10setupBlitz.sh
if [ ${setupStep} -lt 100 ]; then
# setup script will decide the next logical step
/home/admin/10setupBlitz.sh
fi

View File

@ -115,5 +115,7 @@ else
fi
# setup script will decide the next logical step
/home/admin/10setupBlitz.sh
if [ ${setupStep} -lt 100 ]; then
# setup script will decide the next logical step
/home/admin/10setupBlitz.sh
fi

View File

@ -153,10 +153,11 @@ else
sudo mv ${targetDir}${targetPath} /mnt/hdd/${network}
echo "OK"
# set SetupState
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info
# continue setup
./60finishHDD.sh
if [ ${setupStep} -lt 100 ]; then
# set SetupState
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info
# continue setup
./60finishHDD.sh
fi
fi

View File

@ -268,8 +268,9 @@ sudo rm -r ${targetDir}
echo "OK"
date +%s
# set SetupState
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info
# continue setup
./60finishHDD.sh
if [ ${setupStep} -lt 100 ]; then
# set SetupState
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info
# continue setup
./60finishHDD.sh
fi