]> git.ipfire.org Git - thirdparty/systemd.git/commit
rules.d: import the keyboard builtin instead of running it
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 10 Feb 2020 04:32:48 +0000 (14:32 +1000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 1 Mar 2020 13:04:30 +0000 (14:04 +0100)
commit161bc525bbd7e3707cc71f0258f663bed9a354dd
tree1482f2705044dd448d2c0c7e71885a0351dee8ac
parentdf70539f9fe01a16d0f561ad9c6f5d7a955039c0
rules.d: import the keyboard builtin instead of running it

RUN seems to be used primarily for historical reasons over the more
immediate IMPORT command. As a side-effect, RUN also runs *after* all the
rules have been processed which is not really what we want here - we expect
the device to be updated immediately. Other rules that rely on accurate evdev
axes should be able to assume the axes are already present. So let's use
IMPORT here.

For consistency, the second two rules are split across multiple lines as well.
rules.d/60-evdev.rules