summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo/udev.rules
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-07-02 23:47:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-02 23:47:43 -0700
commit1fcc2a36fd0de4c268963ae9dc9402c73f3320bd (patch)
tree9758731bc3af9ac4642a52a1cd82232439a60c62 /etc/udev/gentoo/udev.rules
parent3cf745e128ba02fcea33bd13190b713f00119150 (diff)
Fix the gentoo udev rules to allow the box to boot properly
Diffstat (limited to 'etc/udev/gentoo/udev.rules')
-rw-r--r--etc/udev/gentoo/udev.rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules
index 6698aa6fd9..9feed3ea4b 100644
--- a/etc/udev/gentoo/udev.rules
+++ b/etc/udev/gentoo/udev.rules
@@ -244,6 +244,8 @@ KERNEL="issm*", NAME="infiniband/%k"
KERNEL="tpm*", NAME="%k", OWNER="tss", GROUP="tss", MODE="0600"
# be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems
-RUN += "/sbin/udev_run_devd"
-RUN += "/sbin/udev_run_hotplugd"
+# run hotplug.d stuff only if we came from a hotplug event, not for udevstart
+ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"
+# always run etc.d stuff for now.
+RUN += "/sbin/udev_run_devd"