mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
fix display
This commit is contained in:
@@ -87,7 +87,7 @@ while :
|
||||
# get config info if already available (with state value)
|
||||
source ${infoFile}
|
||||
|
||||
if [ "${setupPhase}" != "ready" ]; then
|
||||
if [ "${setupPhase}" != "done" ]; then
|
||||
|
||||
# show status info during boot & setup & repair on LCD
|
||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}" lcd
|
||||
|
@@ -562,18 +562,12 @@ if [ ${isMounted} -eq 0 ]; then
|
||||
# delete provision in progress flag
|
||||
sudo rm /home/admin/provision.flag
|
||||
|
||||
# delete setup data from RAM
|
||||
sudo rm ${setupFile}
|
||||
|
||||
# signal that setup phas is over
|
||||
sed -i "s/^setupPhase=.*/setupPhase='done'/g" ${infoFile}
|
||||
|
||||
#echo "rebooting" >> $logFile
|
||||
#echo "state=recovered" >> /home/admin/recover.flag
|
||||
#echo "shutdown in 1min" >> $logFile
|
||||
# save log file for inspection before reboot
|
||||
#sudo cp ${logFile} ${logFile}.recover
|
||||
#sync
|
||||
#sudo shutdown -r -F -t 60
|
||||
#exit 0
|
||||
|
||||
else
|
||||
|
||||
############################
|
||||
|
Reference in New Issue
Block a user