summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox/files/mdev
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/files/mdev')
-rwxr-xr-xmeta/recipes-core/busybox/files/mdev4
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 @@
#!/bin/sh
-
+mount -t proc proc /proc
+mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
mkdir /dev/pts /dev/shm
chmod 777 /dev/shm
mount -t devpts devpts /dev/pts
touch /dev/mdev.seq
+#sysctl -w kernel.hotplug=/sbin/mdev
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
mdev -s