summaryrefslogtreecommitdiff
path: root/packages/busybox/files/mdev
blob: 4eed51e94cbb64c9add4db19294eb1a4fee65335 (plain)
1
2
3
4
5
6
7
8
9
10
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