aboutsummaryrefslogtreecommitdiffstats
path: root/setsysfont
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-24 17:04:13 -0400
committerBill Nottingham <notting@redhat.com>2009-03-24 17:04:13 -0400
commitbb45289856fe0027bb62f024b01802f1eccf5142 (patch)
tree7abaf7a3fecd0e9e95931d2b84f7c8ca86f9e625 /setsysfont
parent590dd4c68e2708b4037b86b51c8dcd07ae8f6fd2 (diff)
downloadinitscripts-bb45289856fe0027bb62f024b01802f1eccf5142.tar
initscripts-bb45289856fe0027bb62f024b01802f1eccf5142.tar.gz
initscripts-bb45289856fe0027bb62f024b01802f1eccf5142.tar.bz2
initscripts-bb45289856fe0027bb62f024b01802f1eccf5142.tar.xz
initscripts-bb45289856fe0027bb62f024b01802f1eccf5142.zip
Honor LC_CTYPE (#487133, <skasal@redhat.com>)
Diffstat (limited to 'setsysfont')
-rwxr-xr-xsetsysfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/setsysfont b/setsysfont
index 29d4506c..d97c40c4 100755
--- a/setsysfont
+++ b/setsysfont
@@ -6,7 +6,7 @@ if [ -f /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
fi
-case "$LANG" in
+case ${LC_ALL:-${LC_CTYPE-$LANG}} in
*.utf8|*.UTF-8)
if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
exec unicode_start $SYSFONT $SYSFONTACM