summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
1#!/bin/sh 1#!/bin/sh
2 2mount -t proc proc /proc
3mount -t sysfs sysfs /sys
3mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 4mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
4mkdir /dev/pts /dev/shm 5mkdir /dev/pts /dev/shm
5chmod 777 /dev/shm 6chmod 777 /dev/shm
6mount -t devpts devpts /dev/pts 7mount -t devpts devpts /dev/pts
7touch /dev/mdev.seq 8touch /dev/mdev.seq
9#sysctl -w kernel.hotplug=/sbin/mdev
8echo "/sbin/mdev" > /proc/sys/kernel/hotplug 10echo "/sbin/mdev" > /proc/sys/kernel/hotplug
9mdev -s 11mdev -s
10 12