aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-09-29 20:50:05 +0000
committerBill Nottingham <notting@redhat.com>2006-09-29 20:50:05 +0000
commit254ba15592e31379bb16577a04ad8c5768da577e (patch)
tree765a56b71c27703f0a71eba4c4049605354f14b6
parentb0bb35d8c2b3eaf14322a9a2b77c26e3c125f126 (diff)
downloadinitscripts-254ba15592e31379bb16577a04ad8c5768da577e.tar
initscripts-254ba15592e31379bb16577a04ad8c5768da577e.tar.gz
initscripts-254ba15592e31379bb16577a04ad8c5768da577e.tar.bz2
initscripts-254ba15592e31379bb16577a04ad8c5768da577e.tar.xz
initscripts-254ba15592e31379bb16577a04ad8c5768da577e.zip
stop unicode if they have a non-utf8 locale
-rwxr-xr-xsetsysfont5
1 files changed, 5 insertions, 0 deletions
diff --git a/setsysfont b/setsysfont
index aabe4cce..5f818a9f 100755
--- a/setsysfont
+++ b/setsysfont
@@ -12,6 +12,11 @@ case "$LANG" in
exec unicode_start $SYSFONT $SYSFONTACM
fi
;;
+ *)
+ if /sbin/consoletype fg ; then
+ exec unicode_stop
+ fi
+ ;;
esac
if [ -x /bin/setfont ]; then