mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
code move
This commit is contained in:
parent
02587c519b
commit
b6048b5936
1 changed files with 16 additions and 16 deletions
|
@ -144,6 +144,22 @@ while :
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# when setup is in progress - password has been changed
|
||||||
|
if [ ${setupStep} -lt 100 ]; then
|
||||||
|
l1="Login to your RaspiBlitz with:\n"
|
||||||
|
l2="ssh admin@${localip}\n"
|
||||||
|
l3="Use your Password A\n"
|
||||||
|
boxwidth=$((${#localip} + 24))
|
||||||
|
sleep 3
|
||||||
|
dialog --backtitle "RaspiBlitz ${codeVersion} ${localip} - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||||
|
sleep 7
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# DISPLAY AFTER SETUP
|
||||||
|
###########################
|
||||||
|
|
||||||
if [ "${state}" = "repair" ]; then
|
if [ "${state}" = "repair" ]; then
|
||||||
l1="Repair Mode\n"
|
l1="Repair Mode\n"
|
||||||
l2="ssh admin@${localip}\n"
|
l2="ssh admin@${localip}\n"
|
||||||
|
@ -174,22 +190,6 @@ while :
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# when setup is in progress - password has been changed
|
|
||||||
if [ ${setupStep} -lt 100 ]; then
|
|
||||||
l1="Login to your RaspiBlitz with:\n"
|
|
||||||
l2="ssh admin@${localip}\n"
|
|
||||||
l3="Use your Password A\n"
|
|
||||||
boxwidth=$((${#localip} + 24))
|
|
||||||
sleep 3
|
|
||||||
dialog --backtitle "RaspiBlitz ${codeVersion} ${localip} - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
|
||||||
sleep 7
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
|
|
||||||
###########################
|
|
||||||
# DISPLAY AFTER SETUP
|
|
||||||
###########################
|
|
||||||
|
|
||||||
# check if bitcoin is ready
|
# check if bitcoin is ready
|
||||||
sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 1>/dev/null 2>error.tmp
|
sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 1>/dev/null 2>error.tmp
|
||||||
clienterror=`cat error.tmp`
|
clienterror=`cat error.tmp`
|
||||||
|
|
Loading…
Add table
Reference in a new issue