diff options
author | Bill Nottingham <notting@redhat.com> | 2007-04-16 23:54:24 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-04-16 23:54:24 +0000 |
commit | 3b5f7032777da3a4d0b54b12271f8fca28d27652 (patch) | |
tree | 6665e8d1fe1130d63b33f234f4a2b5be8144cb34 /lang.sh | |
parent | 95de8fc726d04d7165a0c5cb51a824e1f9a88d74 (diff) | |
download | initscripts-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
Diffstat (limited to 'lang.sh')
-rwxr-xr-x | lang.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 ;; |