recover UI fix

This commit is contained in:
rootzoll 2018-12-12 16:46:54 +01:00
parent 1a6944bf3d
commit 289880a4f0
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ if [ "$USER" != "pi" ]; then
fi
# display a 10s startup time
dialog --pause " Starting services ..." 8 58 12
dialog --pause " Starting ..." 8 58 12
# DISPLAY LOOP
chain=""
@ -126,12 +126,12 @@ while :
if [ ${#message} -eq 0 ]; then
message="Setup in Progress"
fi
l1="Upgrade/Recovering/Provisioning Mode\n"
l1="Upgrade/Recover/Provision\n"
l2="---> ${message}\n"
l3="Please keep running until auto-reboot."
boxwidth=$((${#localip} + 24))
dialog --backtitle "RaspiBlitz (${state})" --infobox "$l1$l2$l3" 5 ${boxwidth}
sleep 5
sleep 3
continue
fi

View File

@ -35,7 +35,7 @@ source ${configFile}
##########################
echo "### BASIC SYSTEM SETTINGS ###" >> ${logFile}
sudo sed -i "s/^message=.*/message='Setup System'/g" ${infoFile}
sudo sed -i "s/^message=.*/message='Setup System .'/g" ${infoFile}
# set hostname data
echo "Setting lightning alias: ${hostname}" >> ${logFile}
@ -76,7 +76,7 @@ sudo chmod +x /etc/systemd/system/lnd.service >> ${logFile} 2>&1
sudo systemctl enable lnd >> ${logFile} 2>&1
# finish setup (SWAP, Benus, Firewall, Update, ..)
sudo sed -i "s/^message=.*/message='Finishing Setup'/g" ${infoFile}
sudo sed -i "s/^message=.*/message='Setup System ..'/g" ${infoFile}
/home/admin/90finishSetup.sh >> ${logFile} 2>&1
# set the local network hostname