From: Cong Wang Date: Tue, 29 May 2012 07:17:01 +0000 (+0200) Subject: Relax the rules for kdump, we don't specify netroot in kdump. X-Git-Tag: 019~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81ea383998f31c542b8ef83085ee3cba0af252b9;p=thirdparty%2Fdracut.git Relax the rules for kdump, we don't specify netroot in kdump. --- diff --git a/modules.d/40network/parse-bond.sh b/modules.d/40network/parse-bond.sh index ae0ae97b9..582268529 100755 --- a/modules.d/40network/parse-bond.sh +++ b/modules.d/40network/parse-bond.sh @@ -15,9 +15,6 @@ # Check if bond parameter is valid if getarg bond= >/dev/null ; then - if [ -z "$netroot" ] ; then - die "No netboot configured, bond is invalid" - fi command -v ifenslave >/dev/null 2>&1 || die "No 'ifenslave' installed" fi diff --git a/modules.d/40network/parse-bridge.sh b/modules.d/40network/parse-bridge.sh index aaa5a547e..6e1fee1b3 100755 --- a/modules.d/40network/parse-bridge.sh +++ b/modules.d/40network/parse-bridge.sh @@ -13,9 +13,6 @@ # Check if bridge parameter is valid if getarg bridge= >/dev/null ; then - if [ -z "$netroot" ] ; then - die "No netboot configured, bridge is invalid" - fi command -v brctl >/dev/null 2>&1 || die "No 'brctl' installed" fi