aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-09-08 19:18:17 +0000
committerBill Nottingham <notting@redhat.com>2006-09-08 19:18:17 +0000
commit0521c73f84dadb5551107a2dd1f2e3f7b65cd04a (patch)
treec693224ecf5c5bdb8c1b53522977a82580c1be4b
parentb7cd7cb77140e371effd215f5a07b214f7f03bfc (diff)
downloadinitscripts-0521c73f84dadb5551107a2dd1f2e3f7b65cd04a.tar
initscripts-0521c73f84dadb5551107a2dd1f2e3f7b65cd04a.tar.gz
initscripts-0521c73f84dadb5551107a2dd1f2e3f7b65cd04a.tar.bz2
initscripts-0521c73f84dadb5551107a2dd1f2e3f7b65cd04a.tar.xz
initscripts-0521c73f84dadb5551107a2dd1f2e3f7b65cd04a.zip
run setsysfont always when /dev/tty1 exists
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index fb850618..930787c1 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -226,8 +226,8 @@ init_crypto() {
return $ret
}
-if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
- /sbin/setsysfont
+if [ -x /sbin/setsysfont -a -c /dev/tty1 ]; then
+ /sbin/setsysfont < /dev/tty1 > /dev/tty1
fi
# Print a text banner.