Write data to console to recalculate size

This commit is contained in:
Zach Dykstra 2022-02-19 10:12:56 -06:00
parent eac054780c
commit 5a5ab0b4d4
No known key found for this signature in database
GPG Key ID: F2F0D4FB7A2861E8
1 changed files with 4 additions and 0 deletions

View File

@ -19,5 +19,9 @@ fi
# There is nothing to do without a valid control_term device # There is nothing to do without a valid control_term device
[ -c "${control_term}" ] || exit 0 [ -c "${control_term}" ] || exit 0
# print an "empty" string to the screen to force it to recalculate
# with out this, EFI frame buffers will possibly have the wrong size
echo -e "\033[0;30m ... \033[0m"
# Try to initialize the console # Try to initialize the console
/lib/udev/console_init "${control_term##*/}" >/dev/null 2>&1 /lib/udev/console_init "${control_term##*/}" >/dev/null 2>&1