summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/init
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/init')
-rw-r--r--meta/recipes-core/systemd/systemd/init14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init
index 0ddd0434f2..32a474d72d 100644
--- a/meta/recipes-core/systemd/systemd/init
+++ b/meta/recipes-core/systemd/systemd/init
@@ -15,7 +15,7 @@ export TZ=/etc/localtime
15 15
16[ -d /sys/class ] || exit 1 16[ -d /sys/class ] || exit 1
17[ -r /proc/mounts ] || exit 1 17[ -r /proc/mounts ] || exit 1
18[ -x /lib/systemd/systemd-udevd ] || exit 1 18[ -x @UDEVD@ ] || exit 1
19[ -f /etc/default/udev-cache ] && . /etc/default/udev-cache 19[ -f /etc/default/udev-cache ] && . /etc/default/udev-cache
20[ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf 20[ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf
21 21
@@ -71,15 +71,15 @@ case "$1" in
71 71
72 # trigger the sorted events 72 # trigger the sorted events
73 echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug 73 echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
74 /lib/systemd/systemd-udevd -d 74 @UDEVD@ -d
75 75
76 /usr/bin/udevadm control --env=STARTUP=1 76 udevadm control --env=STARTUP=1
77 if [ "$not_first_boot" != "" ];then 77 if [ "$not_first_boot" != "" ];then
78 /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 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
79 (/usr/bin/udevadm settle --timeout=3; /usr/bin/udevadm control --env=STARTUP=)& 79 (udevadm settle --timeout=3; udevadm control --env=STARTUP=)&
80 else 80 else
81 /usr/bin/udevadm trigger --action=add 81 udevadm trigger --action=add
82 /usr/bin/udevadm settle 82 udevadm settle
83 fi 83 fi
84 ;; 84 ;;
85 stop) 85 stop)