summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-26 09:30:21 +0800
committerKay Sievers <kay@vrfy.org>2014-05-26 09:30:21 +0800
commit49804365ea1242456c9763058a59cf68479e07ea (patch)
treeb2b53b4bc015f6f927905dc9aa1334010c0bc6a5 /rules
parente55edb22a71e67f01534d28f91c6aa27bba48fc1 (diff)
downloadsystemd-49804365ea1242456c9763058a59cf68479e07ea.tar.gz
udev: keyboard - also hook into "change" events
Re-apply the keymaps when "udevadm trigger" is called. Hooking into "add" only would just remove all keymap content from the udev database instead of applying the new config.
Diffstat (limited to 'rules')
-rw-r--r--rules/60-keyboard.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-keyboard.rules b/rules/60-keyboard.rules
index 4e0f3663f6..22f71e7792 100644
--- a/rules/60-keyboard.rules
+++ b/rules/60-keyboard.rules
@@ -1,6 +1,6 @@
# do not edit this file, it will be overwritten on update
-ACTION!="add", GOTO="keyboard_end"
+ACTION=="remove", GOTO="keyboard_end"
KERNEL!="event*", GOTO="keyboard_end"
ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"