mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +02:00
just one time loop info & debug info
This commit is contained in:
@@ -401,12 +401,10 @@ if [ ${isMounted} -eq 0 ]; then
|
|||||||
# until SSH or WEBUI setup data is available
|
# until SSH or WEBUI setup data is available
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
|
echo "## WAIT LOOP: USER SETUP/UPDATE/MIGRATION" >> $logFile
|
||||||
until [ "${state}" == "waitprovision" ]
|
until [ "${state}" == "waitprovision" ]
|
||||||
do
|
do
|
||||||
|
|
||||||
# TODO: DETECT WHEN USER SETUP IS DONE
|
|
||||||
echo "TODO: DETECT WHEN USER SETUP IS DONE hddError(${hddError}) hddCandidate(${hddCandidate})" >> $logFile
|
|
||||||
|
|
||||||
# get latest network info & update raspiblitz.info (in case network changes)
|
# get latest network info & update raspiblitz.info (in case network changes)
|
||||||
source <(/home/admin/config.scripts/internet.sh status)
|
source <(/home/admin/config.scripts/internet.sh status)
|
||||||
sed -i "s/^localip=.*/localip='${localip}'/g" ${infoFile}
|
sed -i "s/^localip=.*/localip='${localip}'/g" ${infoFile}
|
||||||
@@ -439,6 +437,7 @@ if [ ${isMounted} -eq 0 ]; then
|
|||||||
|
|
||||||
# refresh data from info file
|
# refresh data from info file
|
||||||
source ${infoFile}
|
source ${infoFile}
|
||||||
|
echo "# PROVISION PROCESS with setupPhase(${setupPhase})"
|
||||||
|
|
||||||
# temp mount the HDD
|
# temp mount the HDD
|
||||||
echo "Temp mounting data drive ($hddCandidate)" >> $logFile
|
echo "Temp mounting data drive ($hddCandidate)" >> $logFile
|
||||||
|
Reference in New Issue
Block a user