summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/udev-042/init6
-rw-r--r--udev/udev_042.oe4
2 files changed, 5 insertions, 5 deletions
diff --git a/udev/udev-042/init b/udev/udev-042/init
index 4e31881274..e6b2986f89 100644
--- a/udev/udev-042/init
+++ b/udev/udev-042/init
@@ -99,7 +99,7 @@ case "$1" in
echo "done."
;;
stop)
- start-stop-daemon --stop --exec /sbin/udevd --oknodo --quiet
+ start-stop-daemon -K -x /sbin/udevd
echo -n "Unmounting $udev_root..."
# unmounting with -l should never fail
if umount -l $udev_root; then
@@ -146,7 +146,7 @@ case "$1" in
# /etc/init.d/mountvirtfs start
;;
stop)
- start-stop-daemon --stop --exec /sbin/udevd --oknodo --quiet
+ start-stop-daemon -K -x /sbin/udevd
unmount_devpts
echo -n "Unmounting /dev..."
# unmounting with -l should never fail
@@ -159,7 +159,7 @@ case "$1" in
fi
;;
restart|force-reload)
- start-stop-daemon --stop --exec /sbin/udevd --oknodo --quiet
+ start-stop-daemon -K -x /sbin/udevd
echo -n "Recreating device nodes..."
ACTION=add
$UDEVSTART
diff --git a/udev/udev_042.oe b/udev/udev_042.oe
index 01209744d3..79ea9d5674 100644
--- a/udev/udev_042.oe
+++ b/udev/udev_042.oe
@@ -1,7 +1,7 @@
DESCRIPTION = "udev is a program which dynamically creates and removes device nodes from \
/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://flags.patch;patch=1 \
@@ -15,7 +15,7 @@ INITSCRIPT_NAME = "udev"
INITSCRIPT_PARAMS = "start 03 S ."
export HOSTCC = "${BUILD_CC}"
-export udevdir ?= "/udev"
+export udevdir ?= "/dev"
export usrbindir := "${bindir}"
export usrsbindir := "${sbindir}"
export etcdir = "${sysconfdir}"