aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index ebe50d50..f04d3b7c 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -126,7 +126,10 @@ fi
# Load system font
if [ -x /sbin/setsysfont ]; then
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
- if [ -f /etc/sysconfig/console/$SYSFONT.psf.gz -o -f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz ]; then
+ if [ -f /etc/sysconfig/console/$SYSFONT.psf.gz -o \
+ -f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz -o \
+ -f /etc/sysconfig/console/$SYSFONT.gz -o \
+ -f /usr/lib/kbd/consolefonts/$SYSFONT.gz -o ]; then
action "Setting default font" /sbin/setsysfont
fi
fi