diff options
-rwxr-xr-x | meta/recipes-core/busybox/files/mdev | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev index 96252477e0..8c9c06e96c 100755 --- a/meta/recipes-core/busybox/files/mdev +++ b/meta/recipes-core/busybox/files/mdev | |||
@@ -1,10 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | mount -t proc proc /proc | |
3 | mount -t sysfs sysfs /sys | ||
3 | mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 | 4 | mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 |
4 | mkdir /dev/pts /dev/shm | 5 | mkdir /dev/pts /dev/shm |
5 | chmod 777 /dev/shm | 6 | chmod 777 /dev/shm |
6 | mount -t devpts devpts /dev/pts | 7 | mount -t devpts devpts /dev/pts |
7 | touch /dev/mdev.seq | 8 | touch /dev/mdev.seq |
9 | #sysctl -w kernel.hotplug=/sbin/mdev | ||
8 | echo "/sbin/mdev" > /proc/sys/kernel/hotplug | 10 | echo "/sbin/mdev" > /proc/sys/kernel/hotplug |
9 | mdev -s | 11 | mdev -s |
10 | 12 | ||