From 8fab924864b966cc9e2a23878b11c6cd5782cf11 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 19 Dec 2019 08:26:17 +0100 Subject: check-kernel.in: print name of machine to be rebooted --- check-kernel.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check-kernel.in b/check-kernel.in index 2dd5e15..6e6899c 100644 --- a/check-kernel.in +++ b/check-kernel.in @@ -161,7 +161,8 @@ else >&2 printf 'reboot_check_hook() failed.\n' exit 1 fi - >&2 printf 'Press enter to reboot ...' + >&2 printf 'Press enter to reboot %s ...' \ + "$(hostname)" read s if [ -z "${s}" ]; then PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin reboot -- cgit v1.2.3-70-g09d2