/usr/src/openvswitch-1.4.0/debian/openvswitch-brcompat.postinst is in openvswitch-datapath-dkms 1.4.0-1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
# If openvswitch-switch is installed, and then later openvswitch-brcompat is
# installed, make sure that ovs-brcompatd starts.
if test X"$1" = Xconfigure && \
test -x /etc/init.d/openvswitch-switch && \
test -e /var/run/openvswitch/ovs-vswitchd.pid; then
invoke-rc.d openvswitch-switch start || exit $?
fi
#DEBHELPER#
exit 0
|