From f7eadc2fc84aac24f088d6e4e52a80b39c5b6ad4 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Mon, 21 May 2018 21:57:45 +0300 Subject: [PATCH] e2k: added ru_RU.UTF-8 preconfiguration It's legit here as I know no Elbrus users among non-Russian-speakers, at least so far; should move to generic l10n feature (which will definitely see its glory by then). --- features.in/e2k/rootfs/image-scripts.d/51-e2k-utf-8 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 features.in/e2k/rootfs/image-scripts.d/51-e2k-utf-8 diff --git a/features.in/e2k/rootfs/image-scripts.d/51-e2k-utf-8 b/features.in/e2k/rootfs/image-scripts.d/51-e2k-utf-8 new file mode 100755 index 00000000..c8ecd6af --- /dev/null +++ b/features.in/e2k/rootfs/image-scripts.d/51-e2k-utf-8 @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "LANG=ru_RU.UTF-8" >> /etc/sysconfig/i18n +echo "SYSFONT=UniCyr_8x16" >> /etc/sysconfig/consolefont +echo "KEYTABLE=ruwin_cplk-UTF-8" >> /etc/sysconfig/keyboard + +[ ! -f /etc/locale.conf ] || + echo "LANG=ru_RU.UTF-8" >> /etc/locale.conf