# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2
+ 14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc:
+ Skip good_root check for /dev/nfs for gentoo bug #246759
+
14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
Simplify implementation of parse_opt in linuxrc
# 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