mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-13 03:30:49 +02:00
debug sleep
This commit is contained in:
parent
2edb37f722
commit
893b78d686
@ -55,6 +55,21 @@ exitMenuLoop=0
|
||||
while [ ${exitMenuLoop} -eq 0 ]
|
||||
do
|
||||
|
||||
#####################################
|
||||
# SETUP SSH MENU
|
||||
#####################################
|
||||
|
||||
# if setup is done & state is ready .. jump to main menu
|
||||
if [ "${setupPhase}" != "done" ] && [ "${state}" == "waitsetup" ]; then
|
||||
# push user to main menu
|
||||
sleep 4
|
||||
/home/admin/setup.scripts/setupDialogControl.sh
|
||||
# use the exit code from setup menu as signal if menu loop should exited
|
||||
# 0 = continue loop / everything else = break loop and exit to terminal
|
||||
exitMenuLoop=$?
|
||||
if [ "${exitMenuLoop}" != "0" ]; then break; fi
|
||||
fi
|
||||
|
||||
#####################################
|
||||
# MAIN SSH MENU
|
||||
#####################################
|
||||
@ -69,20 +84,6 @@ do
|
||||
if [ "${exitMenuLoop}" != "0" ]; then break; fi
|
||||
fi
|
||||
|
||||
#####################################
|
||||
# SETUP SSH MENU
|
||||
#####################################
|
||||
|
||||
# if setup is done & state is ready .. jump to main menu
|
||||
if [ "${setupPhase}" != "done" ] && [ "${state}" == "waitsetup" ]; then
|
||||
# push user to main menu
|
||||
/home/admin/setup.scripts/setupDialogControl.sh
|
||||
# use the exit code from setup menu as signal if menu loop should exited
|
||||
# 0 = continue loop / everything else = break loop and exit to terminal
|
||||
exitMenuLoop=$?
|
||||
if [ "${exitMenuLoop}" != "0" ]; then break; fi
|
||||
fi
|
||||
|
||||
#####################################
|
||||
# Access fresh system info
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user