From 5a02012cae9127a9bb106ab19f445861a839146d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Sun, 18 Sep 2005 23:38:52 +0000 Subject: [PATCH] - start unicode for utf8 locales. Changed files: console.sh -> 1.12 --- console.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/console.sh b/console.sh index 46a8e95..f409b88 100644 --- a/console.sh +++ b/console.sh @@ -3,7 +3,14 @@ if (tty -s); then linux) if [ -f /etc/sysconfig/console ]; then . /etc/sysconfig/console - + + [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n + case "$LANG" in + *.utf8|*.UTF-8) + [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start + ;; + esac + if [ "$CONSOLEMAP" != "" ]; then # Switch the G0 charset map from the default ISO-8859-1 # to the user-defined map (loaded with consolefonts) -- 2.44.0