summaryrefslogtreecommitdiff
path: root/recipes/udev/udev-141/init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/udev-141/init')
-rw-r--r--recipes/udev/udev-141/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/udev/udev-141/init b/recipes/udev/udev-141/init
index 66705e6767..efd9c23a0e 100644
--- a/recipes/udev/udev-141/init
+++ b/recipes/udev/udev-141/init
@@ -29,7 +29,7 @@ export ACTION=add
echo "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 1777 /dev/shm