chiark / gitweb /
e311d226784b0313fd6f20933813144d16781334
[elogind.git] / etc / udev / debian / hotplugd.rules
1 # do not call hotplug.d and dev.d for "drivers" and "module" events
2 SUBSYSTEM=="drivers",   OPTIONS="last_rule"
3 SUBSYSTEM=="module",    OPTIONS="last_rule"
4
5 # compatibility support for the obsolete hotplug.d and dev.d directories
6 # do not run the hotplug.d scripts when started from udevstart
7 ENV{UDEVD_EVENT}=="1",  RUN+="/sbin/udev_run_hotplugd"
8 RUN+="/sbin/udev_run_devd"
9
10 # run a command on remove events
11 ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
12
13 # debugging monitor
14 RUN+="socket:/org/kernel/udev/monitor"
15