summaryrefslogtreecommitdiff
path: root/packages/udev/udev-124/init
diff options
context:
space:
mode:
Diffstat (limited to 'packages/udev/udev-124/init')
-rw-r--r--packages/udev/udev-124/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/udev-124/init b/packages/udev/udev-124/init
index 8d6e1eacf6..b78a07b20f 100644
--- a/packages/udev/udev-124/init
+++ b/packages/udev/udev-124/init
@@ -28,7 +28,7 @@ export ACTION=add
echo -n "Starting udev"
# mount the tmpfs on /dev, if not already done
-LANG=C awk "\$2 == \"/dev\" && \$3 == \"tmpfs\" { exit 1 }" /proc/mounts && {
+LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && {
mount -n -o mode=0755 -t tmpfs none "/dev"
mkdir -m 0755 /dev/pts
mkdir -m 0755 /dev/shm