openvswitch: close flock fd when starting openvswitch services
Fixes deadlock with multiple init script calls Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
66e0dfa7cd
commit
ec56b98a7e
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ ovs_xx() {
|
||||||
case "$cfgtype" in
|
case "$cfgtype" in
|
||||||
ovs)
|
ovs)
|
||||||
"$ovs_ctl" "$action" \
|
"$ovs_ctl" "$action" \
|
||||||
--system-id=random
|
--system-id=random 1000>&-
|
||||||
;;
|
;;
|
||||||
ovn_*)
|
ovn_*)
|
||||||
"$ovn_ctl" "${action}_${cfgtype#ovn_}"
|
"$ovn_ctl" "${action}_${cfgtype#ovn_}"
|
||||||
|
|
Loading…
Reference in a new issue