From cefd38239063b34ee61f1cf8050e19e2fd6113b4 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 6 Dec 2018 01:18:09 +0100 Subject: [PATCH] updated to raspiconfig --- home.admin/XXcleanHDD.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home.admin/XXcleanHDD.sh b/home.admin/XXcleanHDD.sh index c2cd0e0..10e40ea 100755 --- a/home.admin/XXcleanHDD.sh +++ b/home.admin/XXcleanHDD.sh @@ -1,7 +1,8 @@ echo "" -# load network -network=`cat .network` +# load raspiblitz config data (with backup from old config) +source /mnt/hdd/raspiblitz.conf 2>/dev/null +if [ ${#network} -eq 0 ]; then network=`cat .network`; fi echo "!!!! This will DELETE your data & POSSIBLE FUNDS from the HDD !!!!" echo "Press ENTER to really continue - CTRL+c to CANCEL (last chance)"