busybox-mdev: create shared-memory mount point

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-01-23 19:09:41 +01:00
parent 6d0eadd562
commit 1405e22241
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ MDEV="/sbin/mdev"
# MAKEDEVS="/sbin/makedevs"
# CONFIG="/etc/makedevs.d/${DEL_PLATFORM}"
# Create shared memory mount point
mkdir -p /dev/shm
# Register mdev as hotplug to create devices.
if [ -f /proc/sys/kernel/hotplug ]; then
echo > /dev/mdev.seq