diff options
-rwxr-xr-x | lang.csh | 4 | ||||
-rwxr-xr-x | lang.sh | 2 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -61,8 +61,8 @@ if ($sourced == 1) then endif if ($?LANG) then switch ($LANG) - case *.utf8: - case *.UTF-8: + case *.utf8*: + case *.UTF-8*: if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( `/sbin/consoletype` == "vt" ) then @@ -64,7 +64,7 @@ if [ "$sourced" = 1 ]; then fi if [ -n "$LANG" ]; then case $LANG in - *.utf8|*.UTF-8) + *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then unicode_start fi diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index baca24db..e96eb2a8 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -137,7 +137,7 @@ if [ "`/sbin/consoletype`" = "vt" -a -x /bin/loadkeys ]; then if [ -x /sbin/setsysfont ]; then [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n case "$LANG" in - *.utf8|*.UTF-8) + *.utf8*|*.UTF-8*) action $"Setting default font ($SYSFONT): " /bin/unicode_start $SYSFONT ;; *) |