debug delete at the end

This commit is contained in:
Christian Rotzoll
2019-03-17 03:41:32 +01:00
parent 3a9943fe81
commit f955234408
3 changed files with 6 additions and 4 deletions

View File

@@ -146,13 +146,13 @@ waitUntilChainNetworkIsReady()
sleep 3 sleep 3
dialog --backtitle "RaspiBlitz - Repair Script" --msgbox "Your blockchain data needs to be repaired. dialog --backtitle "RaspiBlitz - Repair Script" --msgbox "Your blockchain data needs to be repaired.
This can be due to a power problems or a failing HDD. This can be due to power problems or a failing HDD.
Please check the FAQ on Raspi9Blitz Github Please check the FAQ on RaspiBlitz Github
'My blockchain data is corrupted - what can I do?' 'My blockchain data is corrupted - what can I do?'
https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md
The RaspiBlitz will now try to help you on with the repair. The RaspiBlitz will now try to help you on with the repair.
Maybe use BACKUP option first to secure your funds & channels. To run a BACKUP of funds & channels first is recommended.
" 13 65 " 13 65
clear clear

View File

@@ -125,6 +125,7 @@ if [ ${anyDataAtAll} -eq 1 ]; then
else else
echo "OK -> DATA LOOKS GOOD :D" echo "OK -> DATA LOOKS GOOD :D"
sudo rm /mnt/hdd/${network}/debug.log
fi fi

View File

@@ -263,9 +263,10 @@ if [ "${setupStep}" = "100" ]; then
sudo systemctl disable ${network}d sudo systemctl disable ${network}d
sudo cp -f /mnt/hdd/${network}/${network}.conf /home/admin/assets/${network}.conf sudo cp -f /mnt/hdd/${network}/${network}.conf /home/admin/assets/${network}.conf
sudo rm -rfv /mnt/hdd/${network}/* 2>/dev/null sudo rm -rfv /mnt/hdd/${network}/* 2>/dev/null
sudo rm /mnt/hdd/${network}/debug.log
fi fi
# Download worked / just move, copy on USB2 >4h # Download worked / just move, copy on USB2 would be >4h
echo "" echo ""
echo "*** Moving Files ***" echo "*** Moving Files ***"
date +%s date +%s