udev: Modify init script to use the correct path of udevadm

udevadm is installed in /usr/bin not in /usr/sbin. Init script modified
accordingly.

(From OE-Core rev: b8ba1e3db44d2443e0071d4923101280151ccd03)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andrei Gherzan 2013-02-10 00:09:55 +02:00 committed by Richard Purdie
parent 3085f02835
commit bee0b38726
1 changed files with 5 additions and 5 deletions

View File

@ -73,13 +73,13 @@ case "$1" in
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
/lib/udev/udevd -d
/usr/sbin/udevadm control --env=STARTUP=1
/usr/bin/udevadm control --env=STARTUP=1
if [ "$not_first_boot" != "" ];then
/usr/sbin/udevadm trigger --action=add --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
(/usr/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)&
/usr/bin/udevadm trigger --action=add --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
(/usr/bin/udevadm settle --timeout=3; /usr/bin/udevadm control --env=STARTUP=)&
else
/usr/sbin/udevadm trigger --action=add
/usr/sbin/udevadm settle
/usr/bin/udevadm trigger --action=add
/usr/bin/udevadm settle
fi
;;
stop)