aboutsummaryrefslogtreecommitdiff
path: root/docker/openvswitch/openvswitch-base/ovs_wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/openvswitch/openvswitch-base/ovs_wrapper.sh')
-rw-r--r--docker/openvswitch/openvswitch-base/ovs_wrapper.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/docker/openvswitch/openvswitch-base/ovs_wrapper.sh b/docker/openvswitch/openvswitch-base/ovs_wrapper.sh
deleted file mode 100644
index 552c496ac..000000000
--- a/docker/openvswitch/openvswitch-base/ovs_wrapper.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env bash
-
-catch_term() {
- ovs-appctl -T1 -t /run/openvswitch/$1.$child.ctl exit
- exit 0
-}
-
-catch_quit() {
- ovs-appctl -T1 -t /run/openvswitch/$1.$child.ctl exit
- exit 0
-}
-
-trap catch_term SIGTERM
-trap catch_quit SIGQUIT
-
-"$@" &
-
-child=$!
-wait "$child"