#1081 move LCD info to other script

This commit is contained in:
rootzoll 2020-03-29 22:26:11 +02:00
parent 40fcba16ab
commit 973e526f7f
2 changed files with 14 additions and 12 deletions

View file

@ -186,18 +186,6 @@ while :
continue continue
fi 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 # check if recovering/upgrade is running
if [ "${state}" = "recovering" ]; then if [ "${state}" = "recovering" ]; then
if [ ${#message} -eq 0 ]; then if [ ${#message} -eq 0 ]; then

View file

@ -21,6 +21,20 @@ fi
# bitcoin errors always first # bitcoin errors always first
if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "blockchain-error" ]; then if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "blockchain-error" ]; then
####################
# Copy Blockchain Source Mode
# https://github.com/rootzoll/raspiblitz/issues/1081
####################
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"
dialog --backtitle "RaspiBlitz ${codeVersion} (${state}) ${localip}" --infobox "$l1$l2$l3" 5 45
sleep 3
exit 1
fi
#################### ####################
# On Bitcoin Error # On Bitcoin Error
#################### ####################