Skip to content

Commit ed2272c

Browse files
committed
zfsbootmenu: print bootenv and kernel just before kexec
1 parent a504c4a commit ed2272c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zfsbootmenu/lib/zfsbootmenu-core.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ kexec_kernel() {
423423
# Run teardown hooks, if they exist
424424
env "${hook_envs[@]}" /libexec/zfsbootmenu-run-hooks "teardown.d"
425425

426+
echo -e "\nBooting $( colorize yellow "${kernel}" ) for $( colorize cyan "${fs}" ) ...\n"
427+
426428
if ! output="$( kexec -e -i 2>&1 )"; then
427429
zerror "kexec -e -i failed!"
428430
zerror "${output}"

0 commit comments

Comments
 (0)