diff options
Diffstat (limited to 'meta/recipes-core/udev/udev/init')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index edc3c9a146..d0d7e5d0e3 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -28,7 +28,7 @@ export ACTION=add | |||
28 | echo -n "Starting udev" | 28 | echo -n "Starting udev" |
29 | 29 | ||
30 | # mount the tmpfs on /dev, if not already done | 30 | # mount the tmpfs on /dev, if not already done |
31 | LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { | 31 | LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { |
32 | mount -n -o mode=0755 -t tmpfs none "/dev" | 32 | mount -n -o mode=0755 -t tmpfs none "/dev" |
33 | mkdir -m 0755 /dev/pts | 33 | mkdir -m 0755 /dev/pts |
34 | mkdir -m 1777 /dev/shm | 34 | mkdir -m 1777 /dev/shm |