mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-03 18:09:03 +02:00
harmonize ready state
This commit is contained in:
@@ -583,12 +583,12 @@ if [ ${isMounted} -eq 0 ]; then
|
||||
sed -i "s/^message=.*/message='Setup Done'/g" ${infoFile}
|
||||
else
|
||||
echo "# Skip WAIT LOOP boot directly into main menu ..." >> $logFile
|
||||
sed -i "s/^state=.*/state=finalready/g" ${infoFile}
|
||||
sed -i "s/^state=.*/state=ready/g" ${infoFile}
|
||||
sed -i "s/^message=.*/message='Setup Done'/g" ${infoFile}
|
||||
fi
|
||||
|
||||
source ${infoFile}
|
||||
until [ "${state}" == "finalready" ]
|
||||
until [ "${state}" == "ready" ]
|
||||
do
|
||||
|
||||
# TODO: DETECT WHEN USER SETUP IS DONE
|
||||
|
@@ -40,7 +40,7 @@ if [ "${syncProgressFull}" != "" ] && [ "${network}" == "bitcoin" ] && [ ${syncP
|
||||
if [ "${CHOICESUB}" == "COPY" ]; then
|
||||
/home/admin/config.scripts/blitz.copychain.sh target
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
############# SCB activation
|
||||
@@ -122,4 +122,4 @@ fi
|
||||
echo "Starting ... (please wait)"
|
||||
|
||||
# signal to backend that all is good and it can continue
|
||||
sudo sed -i "s/^state=.*/state='finalready'/g" /home/admin/raspiblitz.info
|
||||
sudo sed -i "s/^state=.*/state='ready'/g" /home/admin/raspiblitz.info
|
@@ -176,14 +176,6 @@ ssh admin@${localip}
|
||||
Use your Password A
|
||||
" 7 41
|
||||
|
||||
elif [ "${eventID}" == "finalready" ]; then
|
||||
|
||||
dialog --backtitle "${backtitle}" --cr-wrap --infobox "
|
||||
Setup-Done - Please Wait
|
||||
ssh admin@${localip}
|
||||
Use your Password A
|
||||
" 7 41
|
||||
|
||||
elif [ "${eventID}" == "shutdown" ]; then
|
||||
|
||||
dialog --backtitle "${backtitle}" --cr-wrap --infobox "
|
||||
|
Reference in New Issue
Block a user