mirror of
https://github.com/systemd/systemd.git
synced 2026-07-18 05:20:07 +00:00
rules: input - make sure needed variables are set
This commit is contained in:
@@ -26,8 +26,8 @@ KERNEL=="event*", ENV{ID_BUS}=="?*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-id/
|
||||
|
||||
# by-path
|
||||
IMPORT{program}="path_id %p"
|
||||
ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
|
||||
ENV{ID_PATH}=="?*", KERNEL=="event*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{ID_CLASS}"
|
||||
ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
|
||||
ENV{ID_PATH}=="?*", KERNEL=="event*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{ID_CLASS}"
|
||||
|
||||
LABEL="persistent_input_end"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user