Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
fc189ade
Commit
fc189ade
authored
6 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Deprecate variant choice
parent
f3c559d1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-config
+0
-32
0 additions, 32 deletions
src/freedombone-config
with
0 additions
and
32 deletions
src/freedombone-config
+
0
−
32
View file @
fc189ade
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment