dont show dialog when copy on migration

This commit is contained in:
rootzoll 2020-02-16 23:34:39 +01:00
parent 8ce483fb6f
commit 3cec9897c6

View File

@ -29,7 +29,7 @@ if [ "${setupStep}" = "100" ]; then
sudo cp -f /mnt/hdd/bitcoin/bitcoin.conf /home/admin/assets/bitcoin.conf
fi
if [ -d "/mnt/hdd/bitcoin" ]; then
if [ -d "/mnt/hdd/bitcoin" ] && [ "$1" != "stop-after-script" ]; then
dialog --title "Fresh or Repair" --yesno "Do you want to delete the old/local blockchain data now?" 8 60
response=$?
echo "response(${response})"