summaryrefslogtreecommitdiff
path: root/etc/udev/redhat/hotplug.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-02-15 20:57:29 +0100
committerKay Sievers <kay.sievers@suse.de>2006-02-15 20:57:29 +0100
commitbee6e24fa94fced3a23115ca020f041ed9ed9143 (patch)
tree7d2af3f49499c315474216c79d2b5097624c7c14 /etc/udev/redhat/hotplug.rules
parent348f9dfa0461a9e3d93c360de59f4959b0c97fd4 (diff)
update Red Hat rules
Diffstat (limited to 'etc/udev/redhat/hotplug.rules')
-rw-r--r--etc/udev/redhat/hotplug.rules13
1 files changed, 10 insertions, 3 deletions
diff --git a/etc/udev/redhat/hotplug.rules b/etc/udev/redhat/hotplug.rules
index 1f4369c36b..4c47976ee5 100644
--- a/etc/udev/redhat/hotplug.rules
+++ b/etc/udev/redhat/hotplug.rules
@@ -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"