summaryrefslogtreecommitdiff
path: root/recipes/busybox/files/mdev
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/busybox/files/mdev')
-rwxr-xr-xrecipes/busybox/files/mdev11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/busybox/files/mdev b/recipes/busybox/files/mdev
new file mode 100755
index 0000000000..4eed51e94c
--- /dev/null
+++ b/recipes/busybox/files/mdev
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
+
+mkdir /dev/pts /dev/shm
+
+mount -t devpts devpts /dev/pts
+
+echo "/sbin/mdev" >/proc/sys/kernel/hotplug
+
+mdev -s