#!/bin/sh set -e # Automatically added by dh_installsystemd/13.7.1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'openvswitch-switch.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.7.1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'ovs-vswitchd.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.7.1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'ovsdb-server.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.7.1 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/openvswitch-switch" ] ; then invoke-rc.d --skip-systemd-native openvswitch-switch stop || exit 1 fi # End automatically added section