This commit is contained in:
rootzoll 2020-03-29 22:15:01 +02:00
parent 9b260c43a8
commit 3904321d1c
2 changed files with 15 additions and 1 deletions

View File

@ -186,6 +186,18 @@ while :
continue
fi
# check if in Copy Blockchain Source Mode
if [ "${state}" = "copysource" ]; then
l1="Copy Blockchain Source Modus\n"
l2="Please restart RaspiBlitz when done.\n"
l3="Restart from Terminal: sudo shutdown -r now"
boxwidth=$((${#localip} + 28))
dialog --backtitle "RaspiBlitz ${codeVersion} (${state}) ${setupStep} ${localip}" --infobox "$l1$l2$l3" 5 ${boxwidth}
sleep 3
continue
fi
# check if recovering/upgrade is running
if [ "${state}" = "recovering" ]; then
if [ ${#message} -eq 0 ]; then

View File

@ -49,14 +49,16 @@ RaspiBlitz image to your SD card.
copyHost()
{
clear
sed -i "s/^state=.*/state=copysource/g" ${infoFile}
sudo systemctl stop lnd
sudo systemctl stop ${network}d
cd /mnt/hdd/${network}
echo ""
echo
echo "*** Copy Blockchain Source Modus ***"
echo "- Your RaspiBlitz has now stopped LND and ${network}"
echo "- Run now the script given by the other RaspiBlitz in Terminal"
echo "- When you are done - Restart RaspiBlitz: sudo shutdown -r now"
echo
exit 99
}