aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvswitch/openvswitch.post-install
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2014-03-12 20:06:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-13 09:01:12 +0000
commit3b9b437c59704f191eb8e8e39743fa8fe3f22e16 (patch)
tree1d1bfcd9ce979277ac04c26fc488bbb5a02ba9b5 /testing/openvswitch/openvswitch.post-install
parent3694e3b795f6e66f41f96c6fcc699938e7caeb06 (diff)
downloadaports-3b9b437c59704f191eb8e8e39743fa8fe3f22e16.tar.bz2
aports-3b9b437c59704f191eb8e8e39743fa8fe3f22e16.tar.xz
/testing/openvswitch - remove start/stop services
Correcting post install/upgrade scripts to remove lines to start / stop services.
Diffstat (limited to 'testing/openvswitch/openvswitch.post-install')
-rw-r--r--testing/openvswitch/openvswitch.post-install8
1 files changed, 0 insertions, 8 deletions
diff --git a/testing/openvswitch/openvswitch.post-install b/testing/openvswitch/openvswitch.post-install
index 6dc42a2f05..3dfef0db6a 100644
--- a/testing/openvswitch/openvswitch.post-install
+++ b/testing/openvswitch/openvswitch.post-install
@@ -2,14 +2,8 @@
NORMAL="\033[1;0m"
STRONG="\033[1;1m"
-RED="\033[1;31m"
GREEN="\033[1;32m"
-print_red() {
- local prompt="${RED}${STRONG}$1 ${NORMAL}"
- printf "${prompt} %s\n"
-}
-
print_green() {
local prompt="${GREEN}${STRONG}$1 ${NORMAL}"
printf "${prompt} %s\n"
@@ -17,10 +11,8 @@ print_green() {
db="/etc/openvswitch/conf.db"
if [ -e "$db" ]; then
- print_red "\nStopping OVS Database\n"; rc-service ovsdb-server stop
print_green "\nTrying schema migration for $db..."
ovsdb-tool convert "$db" "/usr/share/openvswitch/vswitch.ovsschema"
- print_green "\nStarting OVS Database\n"; rc-service ovsdb-server start
else
print_green "\nCreating new Open vSwitch database $db...\n"
ovsdb-tool create "$db" "/usr/share/openvswitch/vswitch.ovsschema"