3
# borrowed from Fedora and modified to work with console-setup
6
[ -x /usr/bin/hal-set-property ] || exit 0
8
. /etc/default/console-setup > /dev/null 2>&1 || exit 0
12
/usr/bin/hal-set-property --direct --udi "$UDI" --key input.xkb.$1 --string "$2"
14
/usr/bin/hal-set-property --direct --udi "$UDI" --key input.xkb.$1 --remove
18
hal_set model $XKBMODEL
19
hal_set layout $XKBLAYOUT
20
hal_set variant $XKBVARIANT
21
hal_set options $XKBOPTIONS
22
# hardcoded here for clarity, although the driver already forces it