diff options
author | Tom Gundersen <teg@jklm.no> | 2012-06-16 01:49:58 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-06-16 02:33:42 +0200 |
commit | cef9b198f20d25ba93c0d1dfc030951157c5e973 (patch) | |
tree | 7848d2e183c83959fdec26dce8c1f477d7972c76 /rc.sysinit | |
parent | da385eb74e5f0f1ecf04a762cae221e69c68bbc6 (diff) |
locale: make sure LANG is always set as this is used in vconsole-setup to decide if we want utf8 mode
We no longer use LOCALE, so no need to set this.
Reported-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |