Browse Source

openvswitch: close flock fd when starting openvswitch services

Fixes deadlock with multiple init script calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
lilik-openwrt-22.03
Felix Fietkau 3 years ago
parent
commit
ec56b98a7e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/openvswitch/files/openvswitch.init

+ 1
- 1
net/openvswitch/files/openvswitch.init View File

@ -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…
Cancel
Save