mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove wrong sleep
This commit is contained in:
parent
b95e998afc
commit
0ccb86aa39
1 changed files with 4 additions and 3 deletions
|
@ -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 &
|
||||
|
@ -159,8 +158,10 @@ if ! [[ -f "/mnt/boot/initrd-$(uname -m).img" ]] ; then
|
|||
echo b >/proc/sysrq-trigger
|
||||
fi
|
||||
fi
|
||||
_first_stage | _dialog --title " Loading Kernel Modules " --gauge "${_KEEP} Loading files..." 6 75 0
|
||||
_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"
|
||||
|
|
Loading…
Reference in a new issue