mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02:00
recover UI fix
This commit is contained in:
parent
1a6944bf3d
commit
289880a4f0
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user