aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-06-28 04:26:39 +0000
committerBill Nottingham <notting@redhat.com>2002-06-28 04:26:39 +0000
commit919de64cdea827e36fed7d70c627d9bd3a6e89c4 (patch)
tree639a72bbc6832682c3a7b4e616392838158deb79
parent8a4dea1fdb18e60ef9ae51e4597d33a1f1c1e523 (diff)
downloadinitscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar
initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar.gz
initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar.bz2
initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar.xz
initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.zip
use unicode_start
-rwxr-xr-xrc.d/rc.sysinit16
1 files changed, 8 insertions, 8 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 119fc82d..684808e5 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -140,14 +140,14 @@ if [ "`/sbin/consoletype`" = "vt" ]; then
# 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 /etc/sysconfig/console/$SYSFONT.gz -o \
- -f /etc/sysconfig/console/$SYSFONT.psfu.gz -o \
- -f /lib/kbd/consolefonts/$SYSFONT.gz -o \
- -f /lib/kbd/consolefonts/$SYSFONT.psfu.gz -o \
- -f /lib/kbd/consolefonts/$SYSFONT.psf.gz ]; then
- action $"Setting default font ($SYSFONT): " /sbin/setsysfont
- fi
+ case $LANG in
+ *.utf8|*.UTF-8)
+ action $"Setting default font ($SYSFONT): " /bin/unicode_start $SYSFONT
+ ;;
+ *)
+ action $"Setting default font ($SYSFONT): " /sbin/setsysfont
+ ;;
+ esac
fi
fi