Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

early-setup.d/: create generic hook, console-init now dracut only #707

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions zfsbootmenu/hooks/early-setup.d/10-generic-efi-init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# 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"
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,5 @@ fi
# There is nothing to do without a valid control_term device
[ -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
/lib/udev/console_init "${control_term##*/}" >/dev/null 2>&1
Loading