From 0521c73f84dadb5551107a2dd1f2e3f7b65cd04a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 8 Sep 2006 19:18:17 +0000 Subject: run setsysfont always when /dev/tty1 exists --- rc.d/rc.sysinit | 4 ++-- 1 file 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. -- cgit v1.2.1