'fixed root detection'

This commit is contained in:
Tobias Powalowski 2009-06-17 13:56:49 +02:00
parent 03cfa86c21
commit b408ef9afd

View file

@ -110,7 +110,7 @@ else
/bin/mknod /dev/root b ${BLOCKDEVICE} >/dev/null
export root="/dev/root"
fi
if [ ! -b "${root}" ]; then
if [ ! -b "${root}" -a ! -L "${root}" ]; then
err "Unable to detect or create root device '${root}'"
echo "You are being dropped to a recovery shell"
echo " Type 'reboot' to reboot"