diff options
Diffstat (limited to 'packages/busybox/files/mdev')
-rwxr-xr-x | packages/busybox/files/mdev | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/busybox/files/mdev b/packages/busybox/files/mdev new file mode 100755 index 0000000000..6512730536 --- /dev/null +++ b/packages/busybox/files/mdev @@ -0,0 +1,12 @@ +#!/bin/sh + +mount -t sysfs sysfs /sys +mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 + +mkdir /dev/pts /dev/shm + +mount -t devpts devpts /dev/pts + +echo "/bin/mdev" >/proc/sys/kernel/hotplug + +mdev -s |