summaryrefslogtreecommitdiff
path: root/etc/udev/redhat/05-udev-early.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/redhat/05-udev-early.rules')
-rw-r--r--etc/udev/redhat/05-udev-early.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/udev/redhat/05-udev-early.rules b/etc/udev/redhat/05-udev-early.rules
new file mode 100644
index 0000000000..9a96b6a198
--- /dev/null
+++ b/etc/udev/redhat/05-udev-early.rules
@@ -0,0 +1,9 @@
+# sysfs is populated after the event is sent
+ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
+ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
+
+# ignore these events until someone needs them
+SUBSYSTEM=="drivers", OPTIONS="ignore_device"
+SUBSYSTEM=="module", OPTIONS="ignore_device"
+
+ACTION=="add", SUBSYSTEM=="firmware", ENV{FIRMWARE}=="*", RUN="/sbin/firmware_helper", OPTIONS="last_rule"