diff options
author | Bill Nottingham <notting@redhat.com> | 2007-04-13 22:25:16 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-04-13 22:25:16 +0000 |
commit | 91579a7ab9b8861eab1fe8927b71af6daf8fa2f8 (patch) | |
tree | 69343a53d41125267c6e427271810cf37b4a6a4e | |
parent | 6ab9079c7336f0da1c7a8d6743a1b86006214af4 (diff) | |
download | initscripts-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-x | lang.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 ;; |