mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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:
@@ -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_}"
|
||||
|
||||
Reference in New Issue
Block a user