summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox/files/mdev
blob: 4eba6190c71d5265ec032d192a19f38cf20fdf4f (plain)
1
2
3
4
5
6
7
#!/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