mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move clear screen out of function
This commit is contained in:
parent
a22d54d2f4
commit
701a314520
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,7 @@ _first_stage() {
|
|||
_progress_wait "0" "99" "${_KEEP} Loading files..." "0.33"
|
||||
_progress "100" "${_KEEP}"
|
||||
}
|
||||
# avoid screen messup, don't run dialog on module loading!
|
||||
_udev_stage() {
|
||||
printf "\ec"
|
||||
udevadm control -R
|
||||
_udev_trigger
|
||||
# shutdown udevd
|
||||
|
@ -160,6 +158,8 @@ if ! [[ -f "/mnt/boot/initrd-$(uname -m).img" ]] ; then
|
|||
fi
|
||||
fi
|
||||
_first_stage | _dialog --title " Loading Kernel Modules " --gauge "${_KEEP} Loading files..." 6 75 0
|
||||
# avoid screen messup, don't run dialog on module loading!
|
||||
printf "\ec"
|
||||
# reinitialize available modules
|
||||
_udev_stage
|
||||
# autodetect screen size
|
||||
|
|
Loading…
Reference in a new issue