aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev/udev-124/init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/udev-124/init')
-rw-r--r--recipes/udev/udev-124/init2
1 files changed, 1 insertions, 1 deletions
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