summaryrefslogtreecommitdiff
path: root/recipes/udev/udev-141/run.rules
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-15 09:16:05 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-15 09:16:05 +0200
commit272ae318b03bcd062f8b43258ce54a2cd96b9f45 (patch)
tree743c6302b49a7aa8d674edfac7e332ce8df72e22 /recipes/udev/udev-141/run.rules
parent6f4ba50ad3c93176978b98d02167145d97f0525c (diff)
udev: add 141, needs more work since it only creates static libs and the OE-only kernel match patch needs to get evaluated
Diffstat (limited to 'recipes/udev/udev-141/run.rules')
-rw-r--r--recipes/udev/udev-141/run.rules14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/udev/udev-141/run.rules b/recipes/udev/udev-141/run.rules
new file mode 100644
index 0000000000..75d71375bb
--- /dev/null
+++ b/recipes/udev/udev-141/run.rules
@@ -0,0 +1,14 @@
+# debugging monitor
+RUN+="socket:/org/kernel/udev/monitor"
+
+# run a command on remove events
+ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
+
+# ignore the events generated by virtual consoles
+KERNEL=="ptmx", OPTIONS+="last_rule"
+KERNEL=="console", OPTIONS+="last_rule"
+KERNEL=="tty" , OPTIONS+="last_rule"
+KERNEL=="tty[0-9]*", OPTIONS+="last_rule"
+KERNEL=="pty*", OPTIONS+="last_rule"
+SUBSYSTEM=="vc", OPTIONS+="last_rule"
+