aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-07-24 21:27:14 +0000
committerBill Nottingham <notting@redhat.com>2002-07-24 21:27:14 +0000
commit028c97436177229002c0ad6e642b79346ccfbca6 (patch)
tree9b7d35eda08550c059a8e37ec2b9ff6b46a0840f
parentff90b1a98e3627d9528f9f9d45cb9aff00c95211 (diff)
downloadinitscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar
initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar.gz
initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar.bz2
initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar.xz
initscripts-028c97436177229002c0ad6e642b79346ccfbca6.zip
oops, UTF-8 can have @euro
-rwxr-xr-xlang.csh4
-rwxr-xr-xlang.sh2
-rwxr-xr-xrc.d/rc.sysinit2
3 files changed, 4 insertions, 4 deletions
diff --git a/lang.csh b/lang.csh
index 48aec773..7865d108 100755
--- a/lang.csh
+++ b/lang.csh
@@ -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
diff --git a/lang.sh b/lang.sh
index 877997ef..50dc9990 100755
--- a/lang.sh
+++ b/lang.sh
@@ -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
;;
*)