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
}

post_upgrade() {
	post_install
}

op=$1
shift
$op $*

