summaryrefslogtreecommitdiffstats
path: root/setsysfont
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-08-08 19:30:54 +0000
committerBill Nottingham <notting@redhat.com>2003-08-08 19:30:54 +0000
commit13239ac9de9884478e9aad60ba6058262bd2e897 (patch)
tree8f0c6019b7b31a3420f145f291155956e0a47a0d /setsysfont
parenta9fd5b3594897ae5d9a089f0a3036e0dea73e337 (diff)
downloadinitscripts-13239ac9de9884478e9aad60ba6058262bd2e897.tar.gz
initscripts-13239ac9de9884478e9aad60ba6058262bd2e897.tar.xz
initscripts-13239ac9de9884478e9aad60ba6058262bd2e897.zip
don't echo to /dev/console (#102004)
Diffstat (limited to 'setsysfont')
-rwxr-xr-xsetsysfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/setsysfont b/setsysfont
index bcebb719..f24e82b9 100755
--- a/setsysfont
+++ b/setsysfont
@@ -39,7 +39,7 @@ elif [ -x /bin/setfont ]; then
/bin/setfont $SYSFONT $ARGS
# else
# /bin/setfont
- echo -ne "\033(K" > /dev/console
+ echo -ne "\033(K" 2>/dev/null > /proc/$$/fd/0
fi
else
echo $"can't set font"