Skip to content
Snippets Groups Projects
Commit fc189ade authored by Bob Mottram's avatar Bob Mottram
Browse files

Deprecate variant choice

parent f3c559d1
No related branches found
No related tags found
No related merge requests found
......@@ -543,37 +543,6 @@ function choose_full_name {
echo ''
}
function choose_system_variant {
available_variants_list=()
available_system_variants
varslist=""
n=1
# shellcheck disable=SC2068
for a in ${available_variants_list[@]}
do
varstate='off'
if [[ "$a" == $'full' || "$a" == $'Full' ]]; then
varstate='on'
fi
varslist="$varslist $n $a $varstate"
n=$((n+1))
done
# shellcheck disable=SC2086
variant_choice=$(dialog --stdout --backtitle $"Freedombone Configuration" \
--title $"Type of Installation" \
--radiolist $'Choose:' \
27 40 20 $varslist)
# shellcheck disable=SC2181
if [ $? -eq 0 ]; then
variant_choice=$((variant_choice-1))
SYSTEM_TYPE=${available_variants_list[$variant_choice]}
save_configuration_values
fi
}
function validate_freedns_code {
freedns_code="$1"
......@@ -850,7 +819,6 @@ function interactive_config {
dialog --title $"Freedombone" --msgbox "$INITIAL_MESSAGE" 15 50
#choose_system_variant
choose_username
choose_full_name
choose_rng
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment