brcompat: Mark ovs-brcompat as deprecated.
[sliver-openvswitch.git] / debian / openvswitch-brcompat.postinst
1 #!/bin/sh
2
3 set -e
4
5 # If openvswitch-switch is installed, and then later openvswitch-brcompat is
6 # installed, make sure that ovs-brcompatd starts.
7 if test X"$1" = Xconfigure && \
8    test -x /etc/init.d/openvswitch-switch && \
9    test -e /var/run/openvswitch/ovs-vswitchd.pid; then
10     invoke-rc.d openvswitch-switch start || exit $?
11 fi
12
13 #DEBHELPER#
14
15 exit 0
16
17