Skip to content

Commit

Permalink
Clear the screen after countdown but before password prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Jul 14, 2020
1 parent c214ce7 commit 073bfca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 90zfsbootmenu/zfsbootmenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ if [[ -n "${BOOTFS}" ]]; then
# Boot up if we timed out, or if the enter key was pressed
# shellcheck disable=SC2034
if [[ ${fast_boot} -eq 1 || $i -eq 0 ]]; then
# Clear screen before a possible password prompt
tput clear
if ! key_wrapper "${BOOTFS}" ; then
emergency_shell "unable to load required key for ${BOOTFS}"
elif output=$( find_be_kernels "${BOOTFS}" ); then
Expand Down

0 comments on commit 073bfca

Please sign in to comment.