mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
fix wait loop
This commit is contained in:
@@ -671,7 +671,6 @@ if [ "${scenario}" != "ready" ] ; then
|
|||||||
|
|
||||||
else
|
else
|
||||||
echo "INFO: 'raspiblitz.setup' does not exist - wait for user config" >> ${logFile}
|
echo "INFO: 'raspiblitz.setup' does not exist - wait for user config" >> ${logFile}
|
||||||
/home/admin/_cache.sh set state "waitprovision"
|
|
||||||
/home/admin/_cache.sh set message "${infoMessage}"
|
/home/admin/_cache.sh set message "${infoMessage}"
|
||||||
/home/admin/_cache.sh set setupPhase "${setupPhase}"
|
/home/admin/_cache.sh set setupPhase "${setupPhase}"
|
||||||
fi
|
fi
|
||||||
@@ -682,6 +681,7 @@ if [ "${scenario}" != "ready" ] ; then
|
|||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
echo "## WAIT LOOP: USER SETUP/UPDATE/MIGRATION" >> ${logFile}
|
echo "## WAIT LOOP: USER SETUP/UPDATE/MIGRATION" >> ${logFile}
|
||||||
|
echo "state(${state})" >> ${logFile}
|
||||||
until [ "${state}" = "waitprovision" ]
|
until [ "${state}" = "waitprovision" ]
|
||||||
do
|
do
|
||||||
|
|
||||||
@@ -692,6 +692,7 @@ if [ "${scenario}" != "ready" ] ; then
|
|||||||
source <(/home/admin/_cache.sh get state)
|
source <(/home/admin/_cache.sh get state)
|
||||||
|
|
||||||
done
|
done
|
||||||
|
echo "## WAIT LOOP: DONE" >> ${logFile}
|
||||||
|
|
||||||
# get the results from the SSH-UI or WEB-UI
|
# get the results from the SSH-UI or WEB-UI
|
||||||
echo "LOADING 'raspiblitz.setup' ..." >> ${logFile}
|
echo "LOADING 'raspiblitz.setup' ..." >> ${logFile}
|
||||||
|
Reference in New Issue
Block a user