]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix the gentoo udev rules to allow the box to boot properly
authorGreg KH <gregkh@suse.de>
Sun, 3 Jul 2005 06:47:43 +0000 (23:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 3 Jul 2005 06:47:43 +0000 (23:47 -0700)
etc/udev/gentoo/udev.rules

index 6698aa6fd9f728862bcdc2504ac8f65a3ca50358..9feed3ea4b099524e685ff08a8e8c20a09f420cc 100644 (file)
@@ -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"