X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=etc%2Fudev%2Fgentoo%2Fudev.rules;h=9feed3ea4b099524e685ff08a8e8c20a09f420cc;hb=1fcc2a36fd0de4c268963ae9dc9402c73f3320bd;hp=6698aa6fd9f728862bcdc2504ac8f65a3ca50358;hpb=3cf745e128ba02fcea33bd13190b713f00119150;p=elogind.git diff --git a/etc/udev/gentoo/udev.rules b/etc/udev/gentoo/udev.rules index 6698aa6fd..9feed3ea4 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"