diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-06-18 20:25:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-18 17:33:17 +0100 |
commit | 5722129be3d8355b7365b84b63bb4a048526db89 (patch) | |
tree | 599f8cbef569a796a9b98dbe9a391f665cc31cf5 | |
parent | fe77047364eac502904a33bcbc35a704be9acc9e (diff) | |
download | poky-5722129be3d8355b7365b84b63bb4a048526db89.tar.gz |
systemd-udevd: fix invoking init script failed
root@emenlow-noemgd:~# /etc/init.d/systemd-udevd restart
Stopping udevd
Starting udev
corrupt queue file
root@emenlow-noemgd:~# /etc/init.d/systemd-udevd status
udevd is stopped
root@emenlow-noemgd:~# ps
3805 root 8728 S /lib/systemd/systemd-udevd
The process name is systemd-udevd rather than udev which is
used in systemd-udevd's init script.
[YOCTO #4746]
(From OE-Core rev: 8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/systemd/systemd/init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init index 7e67a50b66..41c41366bd 100644 --- a/meta/recipes-core/systemd/systemd/init +++ b/meta/recipes-core/systemd/systemd/init | |||
@@ -83,7 +83,7 @@ case "$1" in | |||
83 | ;; | 83 | ;; |
84 | stop) | 84 | stop) |
85 | echo "Stopping udevd" | 85 | echo "Stopping udevd" |
86 | start-stop-daemon --stop --name udevd --quiet | 86 | start-stop-daemon --stop --name systemd-udevd --quiet |
87 | ;; | 87 | ;; |
88 | restart) | 88 | restart) |
89 | $0 stop | 89 | $0 stop |
@@ -91,7 +91,7 @@ case "$1" in | |||
91 | $0 start | 91 | $0 start |
92 | ;; | 92 | ;; |
93 | status) | 93 | status) |
94 | status udevd | 94 | status systemd-udevd |
95 | ;; | 95 | ;; |
96 | *) | 96 | *) |
97 | echo "Usage: $0 {start|stop|status|restart}" | 97 | echo "Usage: $0 {start|stop|status|restart}" |