chiark / gitweb /
update Red Hat rules
[elogind.git] / etc / udev / redhat / hotplug.rules
index 1f4369c36b519596a11911bc265204e71d585da9..4c47976ee568e4663ff631cda963b0760ffd253b 100644 (file)
@@ -1,8 +1,15 @@
 # do not call hotplug.d and dev.d for "drivers" and "module" events
-SUBSYSTEM=="drivers",  OPTIONS="last_rule"
-SUBSYSTEM=="module",   OPTIONS="last_rule"
+SUBSYSTEM=="drivers",   GOTO="hotplug_end"
+SUBSYSTEM=="module",    GOTO="hotplug_end"
+ACTION="add",           GOTO="hotplug_comp"
+ACTION="remove",        GOTO="hotplug_comp"
 
+GOTO="hotplug_end"
+
+LABEL="hotplug_comp"
 # compatibility support for the obsolete hotplug.d and dev.d directories
-ENV{UDEVD_EVENT}=="1", RUN+="/lib/udev/udev_run_hotplugd"
+ENV{UDEVD_EVENT}=="1",  RUN+="/lib/udev/udev_run_hotplugd"
 RUN+="/lib/udev/udev_run_devd"
 
+
+LABEL="hotplug_end"