mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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) (From OE-Core rev: af5120e5ff3a0ad960554ff4ab0e17673c239f9e) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bb43931f3d
commit
88b12615a5
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user