diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-26 21:00:16 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-26 21:00:16 +0000 |
commit | 776145695f6fe3cb7abd7c8bc5c960418e2af403 (patch) | |
tree | 723db77b97e3d8c6a1700c2331fbd34919d80e08 /rc.d/init.d/functions | |
parent | 02a4fbf8c653dda3f96cc891c52785cb32878366 (diff) | |
download | initscripts-776145695f6fe3cb7abd7c8bc5c960418e2af403.tar initscripts-776145695f6fe3cb7abd7c8bc5c960418e2af403.tar.gz initscripts-776145695f6fe3cb7abd7c8bc5c960418e2af403.tar.bz2 initscripts-776145695f6fe3cb7abd7c8bc5c960418e2af403.tar.xz initscripts-776145695f6fe3cb7abd7c8bc5c960418e2af403.zip |
fix or_IN and similar locales (#212438)
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 4c4fdd97..580216d1 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -19,21 +19,7 @@ export PATH [ -z "${CONSOLETYPE:-}" ] && CONSOLETYPE="`/sbin/consoletype`" if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then - . /etc/sysconfig/i18n - if [ "$CONSOLETYPE" != "pty" ]; then - case "${LANG:-}" in - ja_JP*|ko_KR*|zh_CN*|zh_TW*|bn_*|bd_*|pa_*|hi_*|ta_*|gu_*) - export LC_MESSAGES=en_US - export LANG - ;; - *) - export LANG - ;; - esac - else - [ -n "${LC_MESSAGES:-}" ] && export LC_MESSAGES - export LANG - fi + . /etc/profile.d/lang.sh fi # Read in our configuration |