diff options
Diffstat (limited to 'meta/recipes-core/udev/udev/init')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index ca02abb6f1..74449feaaa 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -37,9 +37,8 @@ export ACTION=add | |||
37 | echo "Starting udev" | 37 | echo "Starting udev" |
38 | 38 | ||
39 | # mount the tmpfs on /dev, if not already done | 39 | # mount the tmpfs on /dev, if not already done |
40 | LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { | 40 | mount -a -t tmpfs |
41 | mount -n -o mode=0755 -t tmpfs none "/dev" | 41 | mkdir -p /var/volatile/run |
42 | } | ||
43 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts | 42 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts |
44 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm | 43 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm |
45 | 44 | ||