|
@ -3,7 +3,7 @@ |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# |
|
|
# |
|
|
# Filename: target/idunn/initramfs/bin_wall.sh |
|
|
# Filename: target/idunn/initramfs/bin_wall.sh |
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
|
|
|
|
|
# Copyright (C) 2008 - 2009 The OpenSDE Project |
|
|
# |
|
|
# |
|
|
# More information can be found in the files COPYING and README. |
|
|
# More information can be found in the files COPYING and README. |
|
|
# |
|
|
# |
|
@ -23,7 +23,7 @@ Broadcast Message from ${USER:-root}@$(hostname) |
|
|
EOT |
|
|
EOT |
|
|
cat >> $tmpfile |
|
|
cat >> $tmpfile |
|
|
|
|
|
|
|
|
for x in /dev/pts/* /dev/vc/*; do |
|
|
|
|
|
|
|
|
for x in /dev/pts/* /dev/console; do |
|
|
if [ -w "$x" ]; then |
|
|
if [ -w "$x" ]; then |
|
|
cat "$tmpfile" > "$x" |
|
|
cat "$tmpfile" > "$x" |
|
|
fi |
|
|
fi |
|
|