mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
rules: keyboard - use builtin command
This commit is contained in:
parent
a54e3b3d6a
commit
884c86812c
@ -9,14 +9,14 @@ SUBSYSTEMS=="bluetooth", GOTO="keyboard_end"
|
||||
|
||||
# import key mapping for USB device
|
||||
SUBSYSTEMS=="usb", IMPORT{builtin}="hwdb --subsystem=usb --lookup-prefix=keyboard:", \
|
||||
RUN{program}+="keyboard", GOTO="keyboard_end"
|
||||
RUN{builtin}+="keyboard", GOTO="keyboard_end"
|
||||
|
||||
# import key mapping for AT keyboard from DMI data
|
||||
DRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:$attr{[dmi/id]modalias}'", \
|
||||
RUN{program}+="keyboard", GOTO="keyboard_end"
|
||||
RUN{builtin}+="keyboard", GOTO="keyboard_end"
|
||||
|
||||
# import key mapping for platform input device
|
||||
KERNELS=="input*", IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
|
||||
RUN{program}+="keyboard", GOTO="keyboard_end"
|
||||
RUN{builtin}+="keyboard", GOTO="keyboard_end"
|
||||
|
||||
LABEL="keyboard_end"
|
||||
|
Loading…
x
Reference in New Issue
Block a user