summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-06-18 20:25:14 +0800
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-08 10:30:19 +0100
commitaf5120e5ff3a0ad960554ff4ab0e17673c239f9e (patch)
treeb7ae5008f1fc8ff9c1ba55a653d7aa8e59a09ec3
parentb280268dd0976fe44a7227a99d8f5584c3b94ffa (diff)
downloadopenembedded-core-af5120e5ff3a0ad960554ff4ab0e17673c239f9e.tar.gz
openembedded-core-af5120e5ff3a0ad960554ff4ab0e17673c239f9e.tar.bz2
openembedded-core-af5120e5ff3a0ad960554ff4ab0e17673c239f9e.zip
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 master 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/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 ac56ccaa72..971e4e9cd2 100644
--- a/meta/recipes-core/systemd/systemd/init
+++ b/meta/recipes-core/systemd/systemd/init
@@ -87,7 +87,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
@@ -95,7 +95,7 @@ case "$1" in
$0 start
;;
status)
- status udevd
+ status systemd-udevd
;;
*)
echo "Usage: $0 {start|stop|status|restart}"