Broke out differnt sections of the 'partition.sh' script into seperate scripts, called on by a new 'pre-inst.sh' script

This commit is contained in:
2025-07-21 13:11:35 -04:00
parent 7442994d18
commit 62861d8c7b
7 changed files with 691 additions and 597 deletions

View File

@@ -26,10 +26,10 @@ while [[ ! "${OPTION}" == 'Exit' ]]; do
#################
EOF
select OPTION in 'List' 'Configure' 'Partition' 'Install' 'WiFi Setup' 'Post Install' 'Finalize' 'Exit'
select OPTION in 'List' 'Configure' 'Pre Install' 'Install' 'WiFi Setup' 'Post Install' 'Finalize' 'Exit'
do
case "${OPTION}" in
'List'|'Configure'|'Partition'|'Install'|'WiFi Setup'|'Post Install'|'Finalize'|'Exit')
'List'|'Configure'|'Pre Install'|'Install'|'WiFi Setup'|'Post Install'|'Finalize'|'Exit')
break
;;
*)
@@ -44,8 +44,8 @@ EOF
"${BASEDIR}/list.sh"
elif [[ "${OPTION}" == 'Configure' ]]; then
"${BASEDIR}/configure.sh"
elif [[ "${OPTION}" == 'Partition' ]]; then
"${BASEDIR}/partition.sh"
elif [[ "${OPTION}" == 'Pre Install' ]]; then
"${BASEDIR}/pre-inst.sh"
elif [[ "${OPTION}" == 'Install' ]]; then
"${BASEDIR}/install.sh"
elif [[ "${OPTION}" == 'WiFi Setup' ]]; then