diff options
author | Yukihiro Nakai <ynakai@redhat.com> | 2001-08-13 22:36:52 +0000 |
---|---|---|
committer | Yukihiro Nakai <ynakai@redhat.com> | 2001-08-13 22:36:52 +0000 |
commit | 921b3f87ef3e2470fe27a9851add13c433bdee57 (patch) | |
tree | 676899099c6c5bc99fe1d640c1d7e784e49fe756 /rc.d/init.d/functions | |
parent | ecfab35bf3f7bb8e754b40de35d53c217e0f5a9f (diff) | |
download | initscripts-921b3f87ef3e2470fe27a9851add13c433bdee57.tar initscripts-921b3f87ef3e2470fe27a9851add13c433bdee57.tar.gz initscripts-921b3f87ef3e2470fe27a9851add13c433bdee57.tar.bz2 initscripts-921b3f87ef3e2470fe27a9851add13c433bdee57.tar.xz initscripts-921b3f87ef3e2470fe27a9851add13c433bdee57.zip |
Korean and Chinese fix
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 3b147f5b..bd368ee5 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -27,6 +27,12 @@ if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then . /etc/sysconfig/i18n if [ "${LANG:-}" = "ja_JP.eucJP" -a "`/sbin/consoletype`" != "pty" ]; then unset LANG + elif [ "${LANG:-}" = "ko_KR.eucKR" -a "`/sbin/consoletype`" != "pty" ]; then + unset LANG + elif [ "${LANG:-}" = "zh_CN.GB2312" -a "`/sbin/consoletype`" != "pty" ]; then + unset LANG + elif [ "${LANG:-}" = "zh_TW.Big5" -a "`/sbin/consoletype`" != "pty" ]; then + unset LANG else export LANG fi |