udev: fix action used during startup

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador
2011-05-23 13:07:36 +00:00
committed by Koen Kooi
parent 4ab0bd1935
commit c1da9cf13b
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -65,10 +65,10 @@ echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
/sbin/udevadm control --env STARTUP=1
if [ "$not_first_boot" != "" ];then
/sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform
/sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform --action=add
(/sbin/udevadm settle --timeout=8; /sbin/udevadm control --env STARTUP=)&
else
/sbin/udevadm trigger
/sbin/udevadm trigger --action=add
/sbin/udevadm settle
fi
+2
View File
@@ -35,6 +35,8 @@ SRC_URI += " \
file://udev-compat-wrapper-patch \
"
PR = "r1"
inherit update-rc.d autotools
EXTRA_OECONF += " --with-udev-prefix= \