From: WANG Cong Date: Fri, 18 May 2012 05:38:17 +0000 (+0800) Subject: check ifenslave instead of brctl in parse-bond.sh X-Git-Tag: 019~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffc5bf686da7db9d26dd19b43fc8a17d83bcc4d7;p=thirdparty%2Fdracut.git check ifenslave instead of brctl in parse-bond.sh This is obviously wrong, ifenslave instead of brctl is needed for bonding. Cc: Harald Hoyer Signed-off-by: WANG Cong --- diff --git a/modules.d/40network/parse-bond.sh b/modules.d/40network/parse-bond.sh index 0a4c00602..ae0ae97b9 100755 --- a/modules.d/40network/parse-bond.sh +++ b/modules.d/40network/parse-bond.sh @@ -18,7 +18,7 @@ if getarg bond= >/dev/null ; then if [ -z "$netroot" ] ; then die "No netboot configured, bond is invalid" fi - command -v brctl >/dev/null 2>&1 || die "No 'brctl' installed" + command -v ifenslave >/dev/null 2>&1 || die "No 'ifenslave' installed" fi # We translate list of slaves to space-separated here to mwke it easier to loop over them in ifup