Your IP : 172.28.240.42


Current Path : /usr/share/initramfs-tools/scripts/init-bottom/
Upload File :
Current File : //usr/share/initramfs-tools/scripts/init-bottom/udev

#!/bin/sh -e
# initramfs init-bottom script for udev

PREREQ=""

# Output pre-requisites
prereqs()
{
	echo "$PREREQ"
}

case "$1" in
    prereqs)
	prereqs
	exit 0
	;;
esac


# Stop udevd, we'll miss a few events while we run init, but we catch up
udevadm control --timeout=121 --exit || \
	echo "udev exit failed -- rc=$?"

# Move /dev to the real filesystem
mount -n -o move /dev ${rootmnt}/dev