git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
66e0dfa
)
openvswitch: close flock fd when starting openvswitch services
author
Felix Fietkau
<redacted>
Tue, 20 Jul 2021 12:26:54 +0000
(14:26 +0200)
committer
Felix Fietkau
<redacted>
Tue, 20 Jul 2021 12:26:55 +0000
(14:26 +0200)
Fixes deadlock with multiple init script calls
Signed-off-by: Felix Fietkau <redacted>
net/openvswitch/files/openvswitch.init
patch
|
blob
|
history
diff --git
a/net/openvswitch/files/openvswitch.init
b/net/openvswitch/files/openvswitch.init
index 0789021c374cf62385a4f60adfa058468d326018..23b75c38f72c7ec2e92ca7c60bf8eeecb2e5dbc8 100755
(executable)
--- a/
net/openvswitch/files/openvswitch.init
+++ b/
net/openvswitch/files/openvswitch.init
@@
-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_}"
git clone https://git.99rst.org/PROJECT