Removed options that are no longer relevant due to script flow and moved 'WiFi Setup' to bottom

This commit is contained in:
2026-01-01 13:09:23 -05:00
parent d1bbf9889b
commit 023c12cb8e

12
menu.sh
View File

@@ -29,7 +29,7 @@ EOF
select option in 'List' 'Configure' 'Pre Install' 'Install' 'WiFi Setup' 'Post Install' 'Finalize' 'Exit' select option in 'List' 'Configure' 'Pre Install' 'Install' 'WiFi Setup' 'Post Install' 'Finalize' 'Exit'
do do
case "${option}" in case "${option}" in
'List'|'Configure'|'Pre Install'|'Install'|'WiFi Setup'|'Post Install'|'Finalize'|'Exit') 'List'|'Configure'|'Install'|'Finalize'|'WiFi Setup'|'Exit')
break break
;; ;;
*) *)
@@ -44,16 +44,12 @@ EOF
"${baseDir}/list.sh" "${baseDir}/list.sh"
elif [[ "${option}" == 'Configure' ]]; then elif [[ "${option}" == 'Configure' ]]; then
"${baseDir}/configure.sh" "${baseDir}/configure.sh"
elif [[ "${option}" == 'Pre Install' ]]; then
"${baseDir}/pre-inst.sh"
elif [[ "${option}" == 'Install' ]]; then elif [[ "${option}" == 'Install' ]]; then
"${baseDir}/install.sh" "${baseDir}/pre-inst.sh"
elif [[ "${option}" == 'WiFi Setup' ]]; then
"${baseDir}/wifi.sh"
elif [[ "${option}" == 'Post Install' ]]; then
"${baseDir}/post-inst.sh"
elif [[ "${option}" == 'Finalize' ]]; then elif [[ "${option}" == 'Finalize' ]]; then
"${baseDir}/finalize.sh" "${baseDir}/finalize.sh"
elif [[ "${option}" == 'WiFi Setup' ]]; then
"${baseDir}/wifi.sh"
fi fi
printf '\033[?47h\033[2J\033[H' printf '\033[?47h\033[2J\033[H'