mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
LCD info during setup
This commit is contained in:
parent
26a21ca55a
commit
389a10c61f
@ -52,6 +52,17 @@ if [ "$USER" = "pi" ]; then
|
|||||||
dialog --backtitle "RaspiBlitz - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
dialog --backtitle "RaspiBlitz - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
|
elif [ ${setupStep} -lt 65 ]; then
|
||||||
|
|
||||||
|
# setup process has not started yet
|
||||||
|
l1="Login to your RaspiBlitz with:\n"
|
||||||
|
l2="ssh admin@${localip}\n"
|
||||||
|
l3="Use your password A\n"
|
||||||
|
boxwidth=$((${#localip} + 20))
|
||||||
|
sleep 3
|
||||||
|
dialog --backtitle "RaspiBlitz - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||||
|
sleep 5
|
||||||
|
|
||||||
elif [ ${setupStep} -lt 100 ]; then
|
elif [ ${setupStep} -lt 100 ]; then
|
||||||
|
|
||||||
# setup process init is done and not finished
|
# setup process init is done and not finished
|
||||||
@ -85,12 +96,6 @@ if [ "$USER" = "pi" ]; then
|
|||||||
l2="ssh admin@${localip}\n"
|
l2="ssh admin@${localip}\n"
|
||||||
l3="Use your Password A\n"
|
l3="Use your Password A\n"
|
||||||
boxwidth=$((${#localip} + 20))
|
boxwidth=$((${#localip} + 20))
|
||||||
|
|
||||||
if [ ${setupStep} -eq 50 ]; then
|
|
||||||
l1="Blockhain Setup - monitor progress:\n"
|
|
||||||
boxwidth=45
|
|
||||||
fi
|
|
||||||
|
|
||||||
sleep 3
|
sleep 3
|
||||||
dialog --backtitle "RaspiBlitz - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
dialog --backtitle "RaspiBlitz - Welcome (${setupStep})" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||||
sleep 10
|
sleep 10
|
||||||
|
@ -153,7 +153,7 @@ Press OK and follow the 'Helping Instructions'.
|
|||||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||||
echo "If you are ready. Press ENTER."
|
echo "If you are ready. Press ENTER."
|
||||||
read key
|
read key
|
||||||
# set SetupState to 75 (mid thru this process)
|
|
||||||
echo "65" > /home/admin/.setup
|
echo "65" > /home/admin/.setup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user