aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-04-13 22:25:16 +0000
committerBill Nottingham <notting@redhat.com>2007-04-13 22:25:16 +0000
commit91579a7ab9b8861eab1fe8927b71af6daf8fa2f8 (patch)
tree69343a53d41125267c6e427271810cf37b4a6a4e
parent6ab9079c7336f0da1c7a8d6743a1b86006214af4 (diff)
downloadinitscripts-91579a7ab9b8861eab1fe8927b71af6daf8fa2f8.tar
initscripts-91579a7ab9b8861eab1fe8927b71af6daf8fa2f8.tar.gz
initscripts-91579a7ab9b8861eab1fe8927b71af6daf8fa2f8.tar.bz2
initscripts-91579a7ab9b8861eab1fe8927b71af6daf8fa2f8.tar.xz
initscripts-91579a7ab9b8861eab1fe8927b71af6daf8fa2f8.zip
re-read /etc/sysconfig/i18n before calling unicode_start, in case
SYSFONT is overridden (#229996)
-rwxr-xr-xlang.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang.sh b/lang.sh
index 45cb7dfd..ff26a0cd 100755
--- a/lang.sh
+++ b/lang.sh
@@ -78,7 +78,12 @@ if [ "$sourced" = 1 ]; then
en_IN*) ;;
*_IN*) LANG=en_US.UTF-8 ;;
esac
- [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM
+ 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
;;