mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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
|
#!/usr/bin/env bash
|
||||||
|
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
# source base and common first, contains basic parameters
|
# source base and common first, contains basic parameters
|
||||||
. /usr/lib/archboot/installer/base.sh
|
. /usr/lib/archboot/installer/base.sh
|
||||||
. /usr/lib/archboot/installer/common.sh
|
. /usr/lib/archboot/installer/common.sh
|
||||||
|
@ -15,7 +16,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_vconsole() {
|
_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
|
||||||
|
@ -169,7 +170,7 @@ mainmenu() {
|
||||||
_NEXTITEM="$(cat ${_ANSWER})"
|
_NEXTITEM="$(cat ${_ANSWER})"
|
||||||
case $(cat ${_ANSWER}) in
|
case $(cat ${_ANSWER}) in
|
||||||
"0")
|
"0")
|
||||||
set_vconsole ;;
|
_set_vconsole ;;
|
||||||
"1")
|
"1")
|
||||||
donetwork ;;
|
donetwork ;;
|
||||||
"2")
|
"2")
|
||||||
|
|
Loading…
Reference in a new issue