diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2013-02-10 00:09:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-11 14:32:12 +0000 |
commit | b8ba1e3db44d2443e0071d4923101280151ccd03 (patch) | |
tree | ba78763c6cc86f1ccd02eb2f5cd5bfc742550372 | |
parent | adfa83bfa1ccb52b1a5d086aff36fe27271d0e59 (diff) | |
download | openembedded-core-b8ba1e3db44d2443e0071d4923101280151ccd03.tar.gz openembedded-core-b8ba1e3db44d2443e0071d4923101280151ccd03.tar.bz2 openembedded-core-b8ba1e3db44d2443e0071d4923101280151ccd03.zip |
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.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/udev/udev/init | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index 8ac1ff7b9c..95d2672be8 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init @@ -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) |