summaryrefslogtreecommitdiff
path: root/etc/udev/redhat/hotplug.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/redhat/hotplug.rules')
-rw-r--r--etc/udev/redhat/hotplug.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/udev/redhat/hotplug.rules b/etc/udev/redhat/hotplug.rules
new file mode 100644
index 0000000000..1f4369c36b
--- /dev/null
+++ b/etc/udev/redhat/hotplug.rules
@@ -0,0 +1,8 @@
+# do not call hotplug.d and dev.d for "drivers" and "module" events
+SUBSYSTEM=="drivers", OPTIONS="last_rule"
+SUBSYSTEM=="module", OPTIONS="last_rule"
+
+# compatibility support for the obsolete hotplug.d and dev.d directories
+ENV{UDEVD_EVENT}=="1", RUN+="/lib/udev/udev_run_hotplugd"
+RUN+="/lib/udev/udev_run_devd"
+