mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
fix info script
This commit is contained in:
parent
43882a763b
commit
8bf4c758f4
@ -122,8 +122,7 @@ while :
|
||||
continue
|
||||
fi
|
||||
|
||||
# check if recovering/upgrade is running
|
||||
if [ $state == 'repair' ] || [ $state == 'retorrent' ] || [ $state == 'recopy' ] ; then
|
||||
if [ $state == 'repair' ]; then
|
||||
l1="Repair Mode\n"
|
||||
l2="ssh admin@${localip}\n"
|
||||
l3="Use password: PasswordA\n"
|
||||
@ -133,6 +132,26 @@ while :
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ $state == 'retorrent' ]; then
|
||||
l1="Repair Mode- TORRENT\n"
|
||||
l2="ssh admin@${localip}\n"
|
||||
l3="Use password: PasswordA\n"
|
||||
boxwidth=$((${#localip} + 28))
|
||||
dialog --backtitle "RaspiBlitz ${codeVersion} (${state}) ${setupStep} ${localip}" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||
sleep 3
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ $state == 'recopy' ]; then
|
||||
l1="Repair Mode - COPY\n"
|
||||
l2="ssh admin@${localip}\n"
|
||||
l3="Use password: PasswordA\n"
|
||||
boxwidth=$((${#localip} + 28))
|
||||
dialog --backtitle "RaspiBlitz ${codeVersion} (${state}) ${setupStep} ${localip}" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||
sleep 3
|
||||
continue
|
||||
fi
|
||||
|
||||
# if freshly recovered
|
||||
if [ "${state}" = "recovered" ]; then
|
||||
l1="FINAL RECOVER LOGIN NEEDED:\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user