diff options
Diffstat (limited to 'meta/recipes-core/udev/udev/init')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index d521685197..ca02abb6f1 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -13,7 +13,7 @@ export TZ=/etc/localtime | |||
13 | 13 | ||
14 | [ -d /sys/class ] || exit 1 | 14 | [ -d /sys/class ] || exit 1 |
15 | [ -r /proc/mounts ] || exit 1 | 15 | [ -r /proc/mounts ] || exit 1 |
16 | [ -x /sbin/udevd ] || exit 1 | 16 | [ -x /lib/udev/udevd ] || exit 1 |
17 | [ -f /etc/default/udev-cache ] && . /etc/default/udev-cache | 17 | [ -f /etc/default/udev-cache ] && . /etc/default/udev-cache |
18 | [ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf | 18 | [ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf |
19 | 19 | ||
@@ -70,15 +70,15 @@ kill_udevd > "/dev/null" 2>&1 | |||
70 | 70 | ||
71 | # trigger the sorted events | 71 | # trigger the sorted events |
72 | echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug | 72 | echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug |
73 | /sbin/udevd -d | 73 | /lib/udev/udevd -d |
74 | 74 | ||
75 | /sbin/udevadm control --env=STARTUP=1 | 75 | /usr/bin/udevadm control --env=STARTUP=1 |
76 | if [ "$not_first_boot" != "" ];then | 76 | if [ "$not_first_boot" != "" ];then |
77 | /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 | 77 | /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 |
78 | (/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)& | 78 | (/usr/bin/udevadm settle --timeout=3; /usr/bin/udevadm control --env=STARTUP=)& |
79 | else | 79 | else |
80 | /sbin/udevadm trigger --action=add | 80 | /usr/bin/udevadm trigger --action=add |
81 | /sbin/udevadm settle | 81 | /usr/bin/udevadm settle |
82 | fi | 82 | fi |
83 | 83 | ||
84 | exit 0 | 84 | exit 0 |