summaryrefslogtreecommitdiff
path: root/packages/udev/udev-124
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-09-24 08:05:28 +0000
committerKoen Kooi <koen@openembedded.org>2008-09-24 08:05:28 +0000
commit5738ac68bcfa24714715a0645e5c4af22ec9dead (patch)
tree31bfcdae16e0b42c5bbac425d5b8b3c85553abc3 /packages/udev/udev-124
parent0e8eedf8e6324d9b283a2b6299932d9db18e56ca (diff)
udev: add tmpfs fix from poky
Diffstat (limited to 'packages/udev/udev-124')
-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