]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix teamd exec in case config does not include devname
authorJiri Pirko <jiri@resnulli.us>
Thu, 10 Jan 2013 14:02:51 +0000 (15:02 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 23 Jan 2013 14:24:27 +0000 (15:24 +0100)
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 <jiri@resnulli.us>
modules.d/40network/ifup.sh

index 216b1e3fa5065b7fe721dc974110eb7d8648ff6f..6c3133e8dcbb6323dd01fd173b78ea995c6c449c 100755 (executable)
@@ -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