Browse Source

wall: changed to only use /dev/console and pts, not vc/* ... udev gets mad

0.2-maint
Alejandro Mery 15 years ago
parent
commit
bbabacb5ea
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      initramfs/bin_wall.sh

+ 2
- 2
initramfs/bin_wall.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# 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.
#
@ -23,7 +23,7 @@ Broadcast Message from ${USER:-root}@$(hostname)
EOT
cat >> $tmpfile
for x in /dev/pts/* /dev/vc/*; do
for x in /dev/pts/* /dev/console; do
if [ -w "$x" ]; then
cat "$tmpfile" > "$x"
fi

Loading…
Cancel
Save