diff --git a/home.admin/00infoLCD.sh b/home.admin/00infoLCD.sh index cfd7dfbc7..f36643533 100755 --- a/home.admin/00infoLCD.sh +++ b/home.admin/00infoLCD.sh @@ -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 diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 4f974f022..037ce96bd 100755 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -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 ############################