|
@ -18,7 +18,7 @@ tmpfile=/tmp/wall.$$ |
|
|
trap "rm -f $tmpfile" INT |
|
|
trap "rm -f $tmpfile" INT |
|
|
|
|
|
|
|
|
cat <<EOT > $tmpfile |
|
|
cat <<EOT > $tmpfile |
|
|
Broadcast Message from $USER@$(hostname) |
|
|
|
|
|
|
|
|
Broadcast Message from ${USER:-root}@$(hostname) |
|
|
($(tty)) at $(date) ... |
|
|
($(tty)) at $(date) ... |
|
|
EOT |
|
|
EOT |
|
|
cat >> $tmpfile |
|
|
cat >> $tmpfile |
|
|