summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/redhat/06-udev-rh-early.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/udev/redhat/06-udev-rh-early.rules b/etc/udev/redhat/06-udev-rh-early.rules
new file mode 100644
index 0000000000..7268a5f3bf
--- /dev/null
+++ b/etc/udev/redhat/06-udev-rh-early.rules
@@ -0,0 +1,8 @@
+# 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"
+
+ACTION=="add", SUBSYSTEM=="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
+# pnp devices
+ACTION=="add", SUBSYSTEM=="pnp", ATTR{id}=="?*", RUN+="/sbin/modprobe pnp:d$attr{id}"
+ACTION=="add", SUBSYSTEM=="firmware", ENV{FIRMWARE}=="*", RUN="/sbin/firmware_helper", OPTIONS="last_rule"