remove wrong sleep

This commit is contained in:
Tobias Powalowski 2023-09-02 08:31:20 +02:00
parent b95e998afc
commit 0ccb86aa39

View file

@ -76,8 +76,8 @@ _first_stage() {
: >/.archboot
_task kernel &
_progress_wait "0" "100" "${_KEEP} Loading files..." "0.33"
# reinitialize available modules
}
# avoid screen messup, don't run dialog on module loading!
_udev_stage() {
printf "\ec"
udevadm control -R
@ -89,7 +89,6 @@ _udev_stage() {
_second_stage() {
: >/.archboot
_task cleanup &
read -t 1
_progress_wait "0" "3" "${_KEEP} Removing files..." "0.125"
: >/.archboot
_task system &
@ -160,7 +159,9 @@ 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
# reinitialize available modules
_udev_stage
# autodetect screen size
FB_SIZE="$(cut -d 'x' -f 1 "$(find /sys -wholename '*fb0/modes')" | sed -e 's#.*:##g')"
if [[ "${FB_SIZE}" -gt '1900' ]]; then
SIZE="32"