aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-06-18 20:25:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-18 16:42:34 +0100
commit8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a (patch)
tree2f3f2f4b124176fd92e892892e58b7b1cc404db4 /meta/recipes-core/systemd
parent8ef393bc08a20053765ad58c1ebd9ab621cdd704 (diff)
downloadopenembedded-core-8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a.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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd/init4
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
;;
stop)
echo "Stopping udevd"
- start-stop-daemon --stop --name udevd --quiet
+ start-stop-daemon --stop --name systemd-udevd --quiet
;;
restart)
$0 stop
@@ -91,7 +91,7 @@ case "$1" in
$0 start
;;
status)
- status udevd
+ status systemd-udevd
;;
*)
echo "Usage: $0 {start|stop|status|restart}"