aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.