chiark / gitweb /
fix .gitignore
[elogind.git] / rules / debian / 95-late.rules
1 # run a command on remove events
2 ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
3
4 # ignore the events generated by virtual consoles
5 KERNEL=="ptmx",                                 OPTIONS+="last_rule"
6 KERNEL=="console",                              OPTIONS+="last_rule"
7 KERNEL=="tty"   ,                               OPTIONS+="last_rule"
8 KERNEL=="tty[0-9]*",                            OPTIONS+="last_rule"
9 KERNEL=="pty*",                                 OPTIONS+="last_rule"
10 SUBSYSTEM=="vc",                                OPTIONS+="last_rule"
11
12 # do not delete static device nodes
13 ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", \
14                                                 OPTIONS+="ignore_remove"
15
16 # debugging monitor
17 RUN+="socket:@/org/kernel/udev/monitor"
18