]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd-udevd: fix invoking init script failed
authorHongxu Jia <hongxu.jia@windriver.com>
Tue, 18 Jun 2013 12:25:14 +0000 (20:25 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Jun 2013 15:42:34 +0000 (16:42 +0100)
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>
meta/recipes-core/systemd/systemd/init

index 7e67a50b6686b414aba4197ff1c654fcd1e2b2b2..41c41366bdf50e330a5399ef4c11cc748f69dd42 100644 (file)
@@ -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}"