Skip to contentSkip to conversation

fix teamd exec in case config does not include devname

PATCH Superseded Jiri Pirko 1 participant 1 message Jan 10, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 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.

---
 modules.d/40network/ifup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
modules.d/40network/ifup.sh +1 -1
index 216b1e3..1e271da 100755
@@ -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 -f -t $teammaster /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
Signature · 1 line
1.8.1