From: Jiri Pirko Date: Thu, 10 Jan 2013 14:02:51 +0000 (+0100) Subject: fix teamd exec in case config does not include devname X-Git-Tag: 025~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f634f81500b2e255468ef0be342b61e7061c81;p=thirdparty%2Fdracut.git fix teamd exec in case config does not include devname In case that configuration file did not include name of team device, teamd would not start. Fix this by adding "-t" parameter. Signed-off-by: Jiri Pirko --- diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh index 216b1e3fa..6c3133e8d 100755 --- a/modules.d/40network/ifup.sh +++ b/modules.d/40network/ifup.sh @@ -187,7 +187,7 @@ if [ -e /tmp/team.info ]; then fi done # Do not add slaves now - teamd -d -U -n -f /etc/teamd/$teammaster.conf + teamd -d -U -n -t $teammaster -f /etc/teamd/$teammaster.conf for slave in $working_slaves; do # team requires the slaves to be down before joining team ip link set $slave down