From efc1b721a617a3a895bc4c1ff17d02258e5458e2 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Sat, 24 Jul 2010 15:39:52 +0200 Subject: udev: Fix possible multiple mounting of /dev, increment PR. * http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-July/021663.html Signed-off-by: Stanislav Brabec Acked-by: Andrea Adami --- recipes/udev/udev-124/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/udev/udev-124') diff --git a/recipes/udev/udev-124/init b/recipes/udev/udev-124/init index efe44708ca..1009381b3d 100644 --- a/recipes/udev/udev-124/init +++ b/recipes/udev/udev-124/init @@ -29,7 +29,7 @@ export ACTION=add echo -n "Starting udev" # mount the tmpfs on /dev, if not already done -LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { +LANG=C awk "\$2 == \"/dev\" && \$3 == \"tmpfs\" { exit 1 }" /proc/mounts && { mount -n -o mode=0755 -t tmpfs none "/dev" mkdir -m 0755 /dev/pts mkdir -m 0755 /dev/shm -- cgit v1.2.3