summaryrefslogtreecommitdiff
path: root/openvswitch.configure
diff options
context:
space:
mode:
Diffstat (limited to 'openvswitch.configure')
-rw-r--r--openvswitch.configure11
1 files changed, 7 insertions, 4 deletions
diff --git a/openvswitch.configure b/openvswitch.configure
index aec66bd2..ec219851 100644
--- a/openvswitch.configure
+++ b/openvswitch.configure
@@ -19,7 +19,10 @@ set -e
ROOT="$1"
-ln -sf "/etc/systemd/system/openvswitch-db-server.service" \
- "$ROOT/etc/systemd/system/multi-user.target.wants/openvswitch-db-server.service"
-ln -sf "/etc/systemd/system/openvswitch.service" \
- "$ROOT/etc/systemd/system/multi-user.target.wants/openvswitch.service"
+services=("openvswitch-setup.service" "openvswitch-db-server.service"
+ "openvswitch-initialize-db.service" "openvswitch.service")
+
+for service in ${services[@]}; do
+ ln -sf "/etc/systemd/system/$service" \
+ "$ROOT/etc/systemd/system/multi-user.target.wants/$service"
+done