mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
rename parameters
This commit is contained in:
parent
241d1ebbaf
commit
9b3b3b17f9
2 changed files with 7 additions and 7 deletions
|
@ -27,9 +27,9 @@ _EDITOR=""
|
|||
|
||||
set_title() {
|
||||
if [[ -e "${LOCAL_DB}" ]]; then
|
||||
TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot"
|
||||
_TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot"
|
||||
else
|
||||
TITLE="Archboot Arch Linux Installation (Online mode) --> https://bit.ly/archboot"
|
||||
_TITLE="Archboot Arch Linux Installation (Online mode) --> https://bit.ly/archboot"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ set_title() {
|
|||
# parameters: see dialog(1)
|
||||
# returns: whatever dialog did
|
||||
DIALOG() {
|
||||
dialog --backtitle "${TITLE}" --aspect 15 "$@"
|
||||
dialog --backtitle "${_TITLE}" --aspect 15 "$@"
|
||||
return $?
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ create_special() {
|
|||
fi
|
||||
CANCEL=""
|
||||
#shellcheck disable=SC2086
|
||||
dialog ${DEFAULT} --backtitle "${TITLE}" --menu "Manage Software Raid, LVM2 and Luks encryption" 11 60 5 \
|
||||
dialog ${DEFAULT} --backtitle "${_TITLE}" --menu "Manage Software Raid, LVM2 and Luks encryption" 11 60 5 \
|
||||
"1" "Manage Software Raid" \
|
||||
"2" "Manage LVM2" \
|
||||
"3" "Manage Luks encryption" \
|
||||
|
@ -48,7 +48,7 @@ _createmd() {
|
|||
fi
|
||||
CANCEL=""
|
||||
#shellcheck disable=SC2086
|
||||
dialog ${DEFAULT} --backtitle "${TITLE}" --menu "Manage Software Raid" 12 60 5 \
|
||||
dialog ${DEFAULT} --backtitle "${_TITLE}" --menu "Manage Software Raid" 12 60 5 \
|
||||
"1" "Create Software Raid" \
|
||||
"2" "Create Partitionable Software Raid" \
|
||||
"3" "Reset Software Raid" \
|
||||
|
@ -85,7 +85,7 @@ _createlvm() {
|
|||
fi
|
||||
CANCEL=""
|
||||
#shellcheck disable=SC2086
|
||||
dialog ${DEFAULT} --backtitle "${TITLE}" --menu "Manage physical volume, volume group or logical volume" 13 60 7 \
|
||||
dialog ${DEFAULT} --backtitle "${_TITLE}" --menu "Manage physical volume, volume group or logical volume" 13 60 7 \
|
||||
"1" "Create Physical Volume" \
|
||||
"2" "Create Volume Group" \
|
||||
"3" "Create Logical Volume" \
|
||||
|
@ -123,7 +123,7 @@ _createluks() {
|
|||
fi
|
||||
CANCEL=""
|
||||
#shellcheck disable=SC2086
|
||||
dialog ${DEFAULT} --backtitle "${TITLE}" --menu "Manage Luks Encryption" 11 60 5 \
|
||||
dialog ${DEFAULT} --backtitle "${_TITLE}" --menu "Manage Luks Encryption" 11 60 5 \
|
||||
"1" "Create Luks" \
|
||||
"2" "Reset Luks Encryption completely" \
|
||||
"3" "Luks Help" \
|
||||
|
|
Loading…
Reference in a new issue