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:
8
menu.sh
8
menu.sh
@@ -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
|
||||
|
Reference in New Issue
Block a user