diff options
author | Bill Nottingham <notting@redhat.com> | 2002-06-28 04:26:39 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-06-28 04:26:39 +0000 |
commit | 919de64cdea827e36fed7d70c627d9bd3a6e89c4 (patch) | |
tree | 639a72bbc6832682c3a7b4e616392838158deb79 | |
parent | 8a4dea1fdb18e60ef9ae51e4597d33a1f1c1e523 (diff) | |
download | initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar.gz initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar.bz2 initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.tar.xz initscripts-919de64cdea827e36fed7d70c627d9bd3a6e89c4.zip |
use unicode_start
-rwxr-xr-x | rc.d/rc.sysinit | 16 |
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 |