aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-04-16 23:54:24 +0000
committerBill Nottingham <notting@redhat.com>2007-04-16 23:54:24 +0000
commit3b5f7032777da3a4d0b54b12271f8fca28d27652 (patch)
tree6665e8d1fe1130d63b33f234f4a2b5be8144cb34
parent95de8fc726d04d7165a0c5cb51a824e1f9a88d74 (diff)
downloadinitscripts-3b5f7032777da3a4d0b54b12271f8fca28d27652.tar
initscripts-3b5f7032777da3a4d0b54b12271f8fca28d27652.tar.gz
initscripts-3b5f7032777da3a4d0b54b12271f8fca28d27652.tar.bz2
initscripts-3b5f7032777da3a4d0b54b12271f8fca28d27652.tar.xz
initscripts-3b5f7032777da3a4d0b54b12271f8fca28d27652.zip
do the override *after* we re-load the LANG settings
-rwxr-xr-xlang.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang.sh b/lang.sh
index ff26a0cd..f4860867 100755
--- a/lang.sh
+++ b/lang.sh
@@ -70,6 +70,12 @@ if [ "$sourced" = 1 ]; then
*.utf8*|*.UTF-8*)
if [ "$TERM" = "linux" ]; then
if [ "$consoletype" = "vt" ]; then
+ if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
+ for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
+ [ -f $langfile ] && . $langfile
+ done
+ /bin/unicode_start $SYSFONT $SYSFONTACM
+ fi
case $LANG in
ja*) LANG=en_US.UTF-8 ;;
ko*) LANG=en_US.UTF-8 ;;
@@ -78,12 +84,6 @@ if [ "$sourced" = 1 ]; then
en_IN*) ;;
*_IN*) LANG=en_US.UTF-8 ;;
esac
- if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
- for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
- [ -f $langfile ] && . $langfile
- done
- /bin/unicode_start $SYSFONT $SYSFONTACM
- fi
fi
fi
;;