From: Jiri Pirko Subject: [patch dracut v2] fix teamd exec in case config does not include devname Date: Thu, 10 Jan 2013 15:02:51 +0100 Message-ID: <1357826571-1877-1-git-send-email-jiri@resnulli.us> Return-path: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, amwang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org 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 --- v2->v1: -fixed bad order of args modules.d/40network/ifup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh index 216b1e3..6c3133e 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 -- 1.8.1