Browse Source

debug delete at the end

v1.1
Christian Rotzoll 6 years ago
parent
commit
f955234408
  1. 6
      home.admin/00mainMenu.sh
  2. 1
      home.admin/50copyHDD.sh
  3. 3
      home.admin/50torrentHDD.sh

6
home.admin/00mainMenu.sh

@ -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

1
home.admin/50copyHDD.sh

@ -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

3
home.admin/50torrentHDD.sh

@ -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

Loading…
Cancel
Save