Skip to content

Commit 5a5ab0b

Browse files
committed
Write data to console to recalculate size
1 parent eac0547 commit 5a5ab0b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎contrib/console-init.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ fi
1919
# There is nothing to do without a valid control_term device
2020
[ -c "${control_term}" ] || exit 0
2121

22+
# print an "empty" string to the screen to force it to recalculate
23+
# with out this, EFI frame buffers will possibly have the wrong size
24+
echo -e "\033[0;30m ... \033[0m"
25+
2226
# Try to initialize the console
2327
/lib/udev/console_init "${control_term##*/}" >/dev/null 2>&1

0 commit comments

Comments
 (0)