aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-26 20:57:48 +0000
committerBill Nottingham <notting@redhat.com>2006-10-26 20:57:48 +0000
commitc3f014d2be64f0fb4d9a5e4f14a65a6599dd8002 (patch)
tree50a96f24fa191638610386328bdb12b78e22a436 /rc.d/init.d/functions
parent551f31986184e3493236603820af417af99d14ea (diff)
downloadinitscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar
initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar.gz
initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar.bz2
initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.tar.xz
initscripts-c3f014d2be64f0fb4d9a5e4f14a65a6599dd8002.zip
fix or_IN and similar locales (#212219)
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions16
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