mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
rename function to vconsole
This commit is contained in:
parent
b05146affe
commit
2e37ae337c
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
||||||
. /usr/lib/archboot/installer/partition.sh
|
. /usr/lib/archboot/installer/partition.sh
|
||||||
. /usr/lib/archboot/installer/storage.sh
|
. /usr/lib/archboot/installer/storage.sh
|
||||||
|
|
||||||
set_keyboard() {
|
set_vconsole() {
|
||||||
if [[ -e /usr/bin/km ]]; then
|
if [[ -e /usr/bin/km ]]; then
|
||||||
km --setup && NEXTITEM="1"
|
km --setup && NEXTITEM="1"
|
||||||
elif [[ -e /usr/bin/archboot-km.sh ]]; then
|
elif [[ -e /usr/bin/archboot-km.sh ]]; then
|
||||||
|
@ -160,7 +160,7 @@ mainmenu() {
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
dialog ${DEFAULT} --backtitle "${TITLE}" --title " MAIN MENU " \
|
dialog ${DEFAULT} --backtitle "${TITLE}" --title " MAIN MENU " \
|
||||||
--menu "Use the UP and DOWN arrows to navigate menus.\nUse TAB to switch between buttons and ENTER to select." 17 58 14 \
|
--menu "Use the UP and DOWN arrows to navigate menus.\nUse TAB to switch between buttons and ENTER to select." 17 58 14 \
|
||||||
"0" "Set Keyboard And Console Font" \
|
"0" "Set Console Font And Keymap" \
|
||||||
"1" "Set up Network" \
|
"1" "Set up Network" \
|
||||||
"2" "Select Source" \
|
"2" "Select Source" \
|
||||||
"3" "Set Time And Date" \
|
"3" "Set Time And Date" \
|
||||||
|
@ -172,7 +172,7 @@ mainmenu() {
|
||||||
NEXTITEM="$(cat ${ANSWER})"
|
NEXTITEM="$(cat ${ANSWER})"
|
||||||
case $(cat ${ANSWER}) in
|
case $(cat ${ANSWER}) in
|
||||||
"0")
|
"0")
|
||||||
set_keyboard ;;
|
set_vconsole ;;
|
||||||
"1")
|
"1")
|
||||||
donetwork ;;
|
donetwork ;;
|
||||||
"2")
|
"2")
|
||||||
|
|
Loading…
Reference in a new issue