Skip good_root check for /dev/nfs for gentoo bug #246759
[genkernel.git] / defaults / linuxrc
index 49a476de9f012e94b7717287f7c6223673ca65dc..2d363329615c809b4f0aeeee08abefb27ac8ae22 100644 (file)
@@ -431,7 +431,7 @@ do
                # else not a good root and start over.
                if [ "$?" = '0' ]
                then
-                       if [ -d ${NEW_ROOT}/dev -a -x ${NEW_ROOT}/sbin/init ]
+                       if [ -d ${NEW_ROOT}/dev -a -x ${NEW_ROOT}/sbin/init ] || [ "${REAL_ROOT}" = "/dev/nfs" ]
                        then
                                break
                        else