diff options
Diffstat (limited to 'recipes/busybox/files/mdev')
-rw-r--r-- | recipes/busybox/files/mdev | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/busybox/files/mdev b/recipes/busybox/files/mdev new file mode 100644 index 0000000..14ba837 --- /dev/null +++ b/recipes/busybox/files/mdev @@ -0,0 +1,9 @@ +#!/bin/sh + +mount proc /proc -t proc +mount sys /sys -t sysfs +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 |