Removed options that are no longer relevant due to script flow and moved 'WiFi Setup' to bottom
This commit is contained in:
12
menu.sh
12
menu.sh
@@ -29,7 +29,7 @@ EOF
|
||||
select option in 'List' 'Configure' 'Pre Install' 'Install' 'WiFi Setup' 'Post Install' 'Finalize' 'Exit'
|
||||
do
|
||||
case "${option}" in
|
||||
'List'|'Configure'|'Pre Install'|'Install'|'WiFi Setup'|'Post Install'|'Finalize'|'Exit')
|
||||
'List'|'Configure'|'Install'|'Finalize'|'WiFi Setup'|'Exit')
|
||||
break
|
||||
;;
|
||||
*)
|
||||
@@ -44,16 +44,12 @@ EOF
|
||||
"${baseDir}/list.sh"
|
||||
elif [[ "${option}" == 'Configure' ]]; then
|
||||
"${baseDir}/configure.sh"
|
||||
elif [[ "${option}" == 'Pre Install' ]]; then
|
||||
"${baseDir}/pre-inst.sh"
|
||||
elif [[ "${option}" == 'Install' ]]; then
|
||||
"${baseDir}/install.sh"
|
||||
elif [[ "${option}" == 'WiFi Setup' ]]; then
|
||||
"${baseDir}/wifi.sh"
|
||||
elif [[ "${option}" == 'Post Install' ]]; then
|
||||
"${baseDir}/post-inst.sh"
|
||||
"${baseDir}/pre-inst.sh"
|
||||
elif [[ "${option}" == 'Finalize' ]]; then
|
||||
"${baseDir}/finalize.sh"
|
||||
elif [[ "${option}" == 'WiFi Setup' ]]; then
|
||||
"${baseDir}/wifi.sh"
|
||||
fi
|
||||
|
||||
printf '\033[?47h\033[2J\033[H'
|
||||
|
||||
Reference in New Issue
Block a user