chiark / gitweb /
rules: Fedora update
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 31 Jul 2007 11:15:17 +0000 (13:15 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 31 Jul 2007 11:15:17 +0000 (13:15 +0200)
etc/udev/redhat/06-udev-rh-early.rules [new file with mode: 0644]

diff --git a/etc/udev/redhat/06-udev-rh-early.rules b/etc/udev/redhat/06-udev-rh-early.rules
new file mode 100644 (file)
index 0000000..7268a5f
--- /dev/null
@@ -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"