summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/udev')
-rw-r--r--meta/recipes-core/udev/udev/init6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index 9b81700ba2..426e4dbb19 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -43,9 +43,9 @@ case "$1" in
43 echo "Halting..." 43 echo "Halting..."
44 halt 44 halt
45 fi 45 fi
46 # mount the tmpfs on /dev, if not already done 46 # mount the devtmpfs on /dev, if not already done
47 LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { 47 LANG=C awk '$2 == "/dev" && ($3 == "devtmpfs") { exit 1 }' /proc/mounts && {
48 mount -n -o mode=0755 -t tmpfs none "/dev" 48 mount -n -o mode=0755 -t devtmpfs none "/dev"
49 } 49 }
50 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts 50 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts
51 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm 51 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm