summaryrefslogtreecommitdiffstats
path: root/external/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller')
-rwxr-xr-xexternal/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller10
1 files changed, 9 insertions, 1 deletions
diff --git a/external/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller b/external/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller
index aad5ad60..57c77983 100755
--- a/external/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller
+++ b/external/meta-virtualization/recipes-networking/openvswitch/files/openvswitch-testcontroller
@@ -40,7 +40,7 @@ PIDFILE=/var/run/openvswitch/$NAME.pid
test -x $DAEMON || exit 0
-. /lib/lsb/init-functions
+. /usr/share/openvswitch/scripts/ovs-lib
# Default options, these can be overriden by the information
# at /etc/default/openvswitch-testcontroller
@@ -89,6 +89,14 @@ running_pid() {
return 0
}
+log_begin_msg () {
+ echo "$@"
+}
+
+log_end_msg () {
+ echo "$@"
+}
+
running() {
# Check if the process is running looking at /proc
# (works for all users)