Commit 5ffdbfdb authored by Anton Midyukov's avatar Anton Midyukov

50-l10n-kbd: setup unicode console for systemd

parent b8b71118
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
CONFIG=/etc/sysconfig/keyboard CONFIG=/etc/sysconfig/keyboard
VCONSOLE_CONF=/etc/vconsole.conf VCONSOLE_CONF=/etc/vconsole.conf
# setup unicode console
rpm -qf "$VCONSOLE_CONF" && echo "FONT=UniCyr_8x16" > "$VCONSOLE_CONF"
[ -n "$GLOBAL_KEYTABLE" ] || exit 0 [ -n "$GLOBAL_KEYTABLE" ] || exit 0
# Requires: console-scripts # Requires: console-scripts
...@@ -11,5 +14,5 @@ if [ -s "$CONFIG" ]; then ...@@ -11,5 +14,5 @@ if [ -s "$CONFIG" ]; then
echo "KEYTABLE=$GLOBAL_KEYTABLE" > "$CONFIG" echo "KEYTABLE=$GLOBAL_KEYTABLE" > "$CONFIG"
fi fi
rpm -qf "$VCONSOLE_CONF" && echo "KEYMAP=$GLOBAL_KEYTABLE" >> "$VCONSOLE_CONF" [ -s "$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