diff --git a/home.admin/config.scripts/blitz.datadrive.sh b/home.admin/config.scripts/blitz.datadrive.sh index 81d088400..f7cdf5af5 100755 --- a/home.admin/config.scripts/blitz.datadrive.sh +++ b/home.admin/config.scripts/blitz.datadrive.sh @@ -279,13 +279,12 @@ if [ "$1" = "status" ]; then # check if its another fullnode implementation data disk hddGotMigrationData="" if [ "${hddFormat}" = "ext4" ]; then - # check for umbrel + # check for other node implementations isUmbrelHDD=$(sudo ls /mnt/storage/umbrel/info.json 2>/dev/null | grep -c '.json') + isMyNodeHDD=$(sudo ls /mnt/storage/mynode/bitcoin/bitcoin.conf 2>/dev/null | grep -c '.conf') if [ ${isUmbrelHDD} -gt 0 ]; then hddGotMigrationData="umbrel" - fi - isMyNodeHDD=$(sudo ls /mnt/storage/mynode/bitcoin/bitcoin.conf 2>/dev/null | grep -c '.conf') - if [ ${isMyNodeHDD} -gt 0 ]; then + elif [ ${isMyNodeHDD} -gt 0 ]; then hddGotMigrationData="mynode" fi else