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:
Felix Fietkau 2021-07-20 14:26:54 +02:00
parent 66e0dfa7cd
commit ec56b98a7e
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ ovs_xx() {
case "$cfgtype" in
ovs)
"$ovs_ctl" "$action" \
--system-id=random
--system-id=random 1000>&-
;;
ovn_*)
"$ovn_ctl" "${action}_${cfgtype#ovn_}"