summaryrefslogtreecommitdiffstats
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/mdev7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev
new file mode 100755
index 0000000..4eba619
--- /dev/null
+++ b/meta/recipes-core/busybox/files/mdev
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
4mkdir /dev/pts /dev/shm
5mount -t devpts devpts /dev/pts
6echo "/sbin/mdev" > /proc/sys/kernel/hotplug
7mdev -s