mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
rename functions
This commit is contained in:
parent
45bca7d8c8
commit
dc55c260d3
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
# source base and common first, contains basic parameters
|
||||
. /usr/lib/archboot/installer/base.sh
|
||||
. /usr/lib/archboot/installer/common.sh
|
||||
|
@ -15,7 +16,7 @@
|
|||
. /usr/lib/archboot/installer/partition.sh
|
||||
. /usr/lib/archboot/installer/storage.sh
|
||||
|
||||
set_vconsole() {
|
||||
_set_vconsole() {
|
||||
if [[ -e /usr/bin/km ]]; then
|
||||
km --setup && _NEXTITEM="1"
|
||||
elif [[ -e /usr/bin/archboot-km.sh ]]; then
|
||||
|
@ -169,7 +170,7 @@ mainmenu() {
|
|||
_NEXTITEM="$(cat ${_ANSWER})"
|
||||
case $(cat ${_ANSWER}) in
|
||||
"0")
|
||||
set_vconsole ;;
|
||||
_set_vconsole ;;
|
||||
"1")
|
||||
donetwork ;;
|
||||
"2")
|
||||
|
|
Loading…
Reference in a new issue