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