diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd/init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init index 47a142883c..ea52be4820 100644 --- a/meta/recipes-core/systemd/systemd/init +++ b/meta/recipes-core/systemd/systemd/init | |||
@@ -35,9 +35,9 @@ case "$1" in | |||
35 | # propagate /dev from /sys | 35 | # propagate /dev from /sys |
36 | echo "Starting udev" | 36 | echo "Starting udev" |
37 | 37 | ||
38 | # mount the tmpfs on /dev, if not already done | 38 | # mount the devtmpfs on /dev, if not already done |
39 | LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { | 39 | LANG=C awk '$2 == "/dev" && ($3 == "devtmpfs") { exit 1 }' /proc/mounts && { |
40 | mount -n -o mode=0755 -t tmpfs none "/dev" | 40 | mount -n -o mode=0755 -t devtmpfs none "/dev" |
41 | } | 41 | } |
42 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts | 42 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts |
43 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm | 43 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm |