From cef9b198f20d25ba93c0d1dfc030951157c5e973 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 16 Jun 2012 01:49:58 +0200 Subject: locale: make sure LANG is always set as this is used in vconsole-setup to decide if we want utf8 mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We no longer use LOCALE, so no need to set this. Reported-by: Thomas Bächler Signed-off-by: Tom Gundersen --- rc.sysinit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 71eea91..4ce5ae5 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -67,7 +67,8 @@ udevd_modprobe sysinit if [[ -s /etc/locale.conf ]]; then parse_envfile /etc/locale.conf "LANG" - [[ $LANG ]] && LOCALE=$LANG +elif [[ $LOCALE ]]; then + export LANG=$LOCALE fi status 'Configuring Virtual Consoles' /usr/lib/systemd/systemd-vconsole-setup -- cgit v1.2.3