#!/bin/sh

HOTPLUG="/proc/sys/kernel/hotplug"

echo "mdev: initialising /dev"
mdev -s
if [ -e "${HOTPLUG}" ]; then
	echo "mdev: Registering hotplug handler"
	echo "/bin/mdev" > ${HOTPLUG}
fi
