Merge pull request #82 from aadityabagga/master

[util-livecd]: use same keyboard config for both systemd and openrc
This commit is contained in:
Philip Müller 2015-04-16 08:49:28 +00:00
commit 939e0bddba

View file

@ -81,11 +81,7 @@ write_x11_config(){
# create X11 keyboard layout config
mkdir -p "$1/etc/X11/xorg.conf.d"
if [[ -f $1/usr/bin/openrc ]]; then
local XORGKBLAYOUT="$1/etc/X11/xorg.conf.d/20-keyboard.conf"
else
local XORGKBLAYOUT="$1/etc/X11/xorg.conf.d/00-keyboard.conf"
fi
echo "" >> "$XORGKBLAYOUT"
echo "Section \"InputClass\"" > "$XORGKBLAYOUT"