From 81ea383998f31c542b8ef83085ee3cba0af252b9 Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Tue, 29 May 2012 09:17:01 +0200 Subject: [PATCH] Relax the rules for kdump, we don't specify netroot in kdump. --- modules.d/40network/parse-bond.sh | 3 --- modules.d/40network/parse-bridge.sh | 3 --- 2 files changed, 6 deletions(-) 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 -- 2.47.3