summaryrefslogtreecommitdiff
path: root/community/openvswitch/openvswitch.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/openvswitch/openvswitch.install')
-rw-r--r--community/openvswitch/openvswitch.install4
1 files changed, 1 insertions, 3 deletions
diff --git a/community/openvswitch/openvswitch.install b/community/openvswitch/openvswitch.install
index a64353d02..b9ee27005 100644
--- a/community/openvswitch/openvswitch.install
+++ b/community/openvswitch/openvswitch.install
@@ -1,14 +1,12 @@
post_install() {
-
if [[ ! -f etc/openvswitch/conf.db ]]; then
-
cmd=(ovsdb-tool create
etc/openvswitch/conf.db
usr/share/openvswitch/vswitch.ovsschema)
-
printf "Running: %s\n" "${cmd[*]}"
"${cmd[@]}"
fi
+ systemd-tmpfiles --create openvswitch.conf
}
post_upgrade() {