summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-19 08:26:17 +0100
committerErich Eckner <git@eckner.net>2019-12-19 08:29:08 +0100
commit8fab924864b966cc9e2a23878b11c6cd5782cf11 (patch)
tree1f6b7ce02224258daca9cb03990100df66a5a15b
parent2ae598af077f6fa465338442dc7e282e48e2f866 (diff)
downloadcheck-kernel-8fab924864b966cc9e2a23878b11c6cd5782cf11.tar.xz
check-kernel.in: print name of machine to be rebooted
-rw-r--r--check-kernel.in3
1 files changed, 2 insertions, 1 deletions
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