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
|
@ -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_}"
|
||||
|
|
Loading…
Reference in New Issue