diff options
Diffstat (limited to 'recipes-networking/openvswitch/files/openvswitch-testcontroller')
-rwxr-xr-x | recipes-networking/openvswitch/files/openvswitch-testcontroller | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/recipes-networking/openvswitch/files/openvswitch-testcontroller b/recipes-networking/openvswitch/files/openvswitch-testcontroller index aad5ad60..57c77983 100755 --- a/recipes-networking/openvswitch/files/openvswitch-testcontroller +++ b/recipes-networking/openvswitch/files/openvswitch-testcontroller | |||
@@ -40,7 +40,7 @@ PIDFILE=/var/run/openvswitch/$NAME.pid | |||
40 | 40 | ||
41 | test -x $DAEMON || exit 0 | 41 | test -x $DAEMON || exit 0 |
42 | 42 | ||
43 | . /lib/lsb/init-functions | 43 | . /usr/share/openvswitch/scripts/ovs-lib |
44 | 44 | ||
45 | # Default options, these can be overriden by the information | 45 | # Default options, these can be overriden by the information |
46 | # at /etc/default/openvswitch-testcontroller | 46 | # at /etc/default/openvswitch-testcontroller |
@@ -89,6 +89,14 @@ running_pid() { | |||
89 | return 0 | 89 | return 0 |
90 | } | 90 | } |
91 | 91 | ||
92 | log_begin_msg () { | ||
93 | echo "$@" | ||
94 | } | ||
95 | |||
96 | log_end_msg () { | ||
97 | echo "$@" | ||
98 | } | ||
99 | |||
92 | running() { | 100 | running() { |
93 | # Check if the process is running looking at /proc | 101 | # Check if the process is running looking at /proc |
94 | # (works for all users) | 102 | # (works for all users) |