ifupdown hook is present in /etc/init.d/openvswitch-switch, but not in /etc/init/openvswitch-switch.conf which is the default.
=== modified file 'debian/openvswitch-switch.upstart' --- debian/openvswitch-switch.upstart 2013-08-23 11:18:52 +0000 +++ debian/openvswitch-switch.upstart 2014-05-01 04:26:00 +0000 @@ -32,11 +32,13 @@ fi set "$@" $OVS_CTL_OPTS "$@" + ifup --allow ovs `ifquery --allow ovs --list` end script
post-stop script . /usr/share/openvswitch/scripts/ovs-lib test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
+ ifdown --allow ovs `ifquery --allow ovs --list` ovs_ctl stop end script
ifupdown hook is present in /etc/init. d/openvswitch- switch, but not in /etc/init/ openvswitch- switch. conf which is the default.
=== modified file 'debian/ openvswitch- switch. upstart' openvswitch- switch. upstart 2013-08-23 11:18:52 +0000 openvswitch- switch. upstart 2014-05-01 04:26:00 +0000
--- debian/
+++ debian/
@@ -32,11 +32,13 @@
fi
set "$@" $OVS_CTL_OPTS
"$@"
+ ifup --allow ovs `ifquery --allow ovs --list`
end script
post-stop script openvswitch/ scripts/ ovs-lib openvswitch- switch && . /etc/default/ openvswitch- switch
. /usr/share/
test -e /etc/default/
+ ifdown --allow ovs `ifquery --allow ovs --list`
ovs_ctl stop
end script