mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-30 12:36:07 +02:00
#1081 LCD message
This commit is contained in:
parent
9b260c43a8
commit
3904321d1c
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user