l10n: set KEYMAP in vconsole.conf if exist
This commit is contained in:
parent
52dafb9692
commit
788d710418
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user