Commit 788d7104 authored by Anton Midyukov's avatar Anton Midyukov

l10n: set KEYMAP in vconsole.conf if exist

parent 52dafb96
......@@ -2,6 +2,7 @@
# partial port of livecd-setlocale (kbd bits)
CONFIG=/etc/sysconfig/keyboard
VCONSOLE_CONF=/etc/vconsole.conf
# Requires: console-scripts
if [ -s "$CONFIG" ]; then
......@@ -15,3 +16,4 @@ if [ -z "$GLOBAL_KEYTABLE" ]; then
fi
echo "KEYTABLE=$GLOBAL_KEYTABLE" > "$CONFIG"
[ -f "$VCONSOLE_CONF" ] && echo "KEYMAP=$GLOBAL_KEYTABLE" >> "$VCONSOLE_CONF"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment