3
This commit is contained in:
@@ -36,7 +36,6 @@ menu_modules_by_prefix() {
|
||||
}
|
||||
|
||||
menu_category_selection() {
|
||||
local categories=("network" "containers" "boot" "hardware")
|
||||
local selection=""
|
||||
|
||||
ui_section "Installation par categorie"
|
||||
@@ -44,15 +43,17 @@ menu_category_selection() {
|
||||
printf ' 2. containers\n'
|
||||
printf ' 3. boot\n'
|
||||
printf ' 4. hardware\n'
|
||||
printf ' 5. passwords\n'
|
||||
printf ' 0. Retour\n'
|
||||
|
||||
selection="$(prompt_select_number "Selectionner une categorie" 0 4)"
|
||||
selection="$(prompt_select_number "Selectionner une categorie" 0 5)"
|
||||
case "$selection" in
|
||||
0) return 0 ;;
|
||||
1) menu_modules_by_prefix "network" "Configuration reseau" ;;
|
||||
2) menu_modules_by_prefix "containers" "Conteneurs" ;;
|
||||
3) menu_modules_by_prefix "boot" "Configuration du boot" ;;
|
||||
4) menu_modules_by_prefix "hardware" "Materiel" ;;
|
||||
5) menu_modules_by_prefix "passwords" "Gestion des mots de passe" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user