[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:
parent
164a1d3326
commit
3e1b9e17b4
@ -6,7 +6,7 @@ function start_app {
|
|||||||
rm -f /var/run/teamd/*
|
rm -f /var/run/teamd/*
|
||||||
if [ "$(ls -A $TEAMD_CONF_PATH)" ]; then
|
if [ "$(ls -A $TEAMD_CONF_PATH)" ]; then
|
||||||
for f in $TEAMD_CONF_PATH/*; do
|
for f in $TEAMD_CONF_PATH/*; do
|
||||||
teamd -f $f -d
|
teamd -f $f -d -r
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
teamsyncd &
|
teamsyncd &
|
||||||
|
Reference in New Issue
Block a user