chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3cf745e
)
Fix the gentoo udev rules to allow the box to boot properly
author
Greg KH
<gregkh@suse.de>
Sun, 3 Jul 2005 06:47:43 +0000
(23:47 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 3 Jul 2005 06:47:43 +0000
(23:47 -0700)
etc/udev/gentoo/udev.rules
patch
|
blob
|
history
diff --git
a/etc/udev/gentoo/udev.rules
b/etc/udev/gentoo/udev.rules
index 6698aa6fd9f728862bcdc2504ac8f65a3ca50358..9feed3ea4b099524e685ff08a8e8c20a09f420cc 100644
(file)
--- 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"