aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 5 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 2be5f6fe..419e76dc 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -47,8 +47,11 @@ if [ -n "$KEYMAP" ]; then
fi
# Load system font
-if [ -x /sbin/setsysfont ]; then
- action "Setting default font" /sbin/setsysfont
+if [ -x /sbin/setsysfont ]
+ . /etc/sysconfig/i18n
+ if [ -f /etc/sysconfig/console/$SYSFONT.psf.gz -o -f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz ]; then
+ action "Setting default font" /sbin/setsysfont
+ fi
fi
# Start up swapping.