chiark / gitweb /
update Debian rules
[elogind.git] / etc / udev / debian / hotplugd.rules
index cf84682abf36eda93350af3fb214a2019a2f1f72..e311d226784b0313fd6f20933813144d16781334 100644 (file)
@@ -3,6 +3,13 @@ SUBSYSTEM=="drivers",  OPTIONS="last_rule"
 SUBSYSTEM=="module",   OPTIONS="last_rule"
 
 # compatibility support for the obsolete hotplug.d and dev.d directories
+# do not run the hotplug.d scripts when started from udevstart
 ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"
 RUN+="/sbin/udev_run_devd"
 
+# run a command on remove events
+ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
+
+# debugging monitor
+RUN+="socket:/org/kernel/udev/monitor"
+