fix display

This commit is contained in:
rootzoll
2021-05-25 18:27:15 -05:00
parent b4e636b7bb
commit 8a70a18bf3
2 changed files with 4 additions and 10 deletions

View File

@@ -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

View File

@@ -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
############################