kexec: add reboot message
This commit is contained in:
parent
b630b3fb37
commit
2913702b16
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
rm -r "$INITRD_TMP"
|
||||
|
||||
# Disconnect our background kexec from the terminal
|
||||
echo "machine will boot into nixos in in 6s..."
|
||||
if [[ -e /dev/kmsg ]]; then
|
||||
# this makes logging visible in `dmesg`, or the system consol or tools like journald
|
||||
exec > /dev/kmsg 2>&1
|
||||
|
|
Loading…
Reference in a new issue