diff --git a/initramfs/bin_wall.sh b/initramfs/bin_wall.sh index 462ae27..d59973d 100644 --- a/initramfs/bin_wall.sh +++ b/initramfs/bin_wall.sh @@ -18,7 +18,7 @@ tmpfile=/tmp/wall.$$ trap "rm -f $tmpfile" INT cat < $tmpfile -Broadcast Message from $USER@$(hostname) +Broadcast Message from ${USER:-root}@$(hostname) ($(tty)) at $(date) ... EOT cat >> $tmpfile