]> err.no Git - systemd/commitdiff
rules: input - make sure needed variables are set
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 2 Jan 2009 02:26:44 +0000 (03:26 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 2 Jan 2009 02:26:44 +0000 (03:26 +0100)
rules/rules.d/60-persistent-input.rules

index 9405b7301106a93967db0f0c2184b09dcff67b9b..7a4b23c6304ec64ac26086432d725f87e9c8531c 100644 (file)
@@ -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"