1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

udev-164: don't hardcode path to pidof

* pidof lives in /bin, search it in $PATH.
* Assume pidof's presence.

(From OE-Core rev: 2f9ac0a10f7d1e3144622a5dff5aa6787fcee534)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Oberritter
2012-03-08 13:08:50 +01:00
committed by Richard Purdie
parent a8dc76ee69
commit 62a2a41194
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -28,10 +28,8 @@ readfile () {
}
kill_udevd() {
if [ -x /sbin/pidof ]; then
pid=`/sbin/pidof -x udevd`
[ -n "$pid" ] && kill $pid
fi
pid=`pidof -x udevd`
[ -n "$pid" ] && kill $pid
}
export ACTION=add
+1 -1
View File
@@ -1,6 +1,6 @@
include udev.inc
PR = "r11"
PR = "r12"
SRC_URI += "file://udev-166-v4l1-1.patch"