wait for modules to finish loading, before consolefont setting

This commit is contained in:
Tobias Powalowski 2023-11-18 11:00:17 +01:00
parent 55630676f1
commit df5b0bec43

View file

@ -111,6 +111,7 @@ _run_update_installer() {
if ! [[ -e /.vconsole-run ]]; then
: > /.vconsole-run
udevadm settle
FB_SIZE="$(cut -d 'x' -f 1 "$(find /sys -wholename '*fb0/modes')" 2>"${_NO_LOG}" | sed -e 's#.*:##g')"
if [[ "${FB_SIZE}" -gt '1900' ]]; then
SIZE="32"