[teamd] Force team device recreation in case it already exists (#2168)

* Force team device recreation in case it already exists
This commit is contained in:
pavel-shirshov 2018-10-18 15:22:26 -07:00 committed by lguohan
parent 164a1d3326
commit 3e1b9e17b4

View File

@ -6,7 +6,7 @@ function start_app {
rm -f /var/run/teamd/*
if [ "$(ls -A $TEAMD_CONF_PATH)" ]; then
for f in $TEAMD_CONF_PATH/*; do
teamd -f $f -d
teamd -f $f -d -r
done
fi
teamsyncd &