X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.postinst;h=2464572496584504026cbeb030917c86fa8fa39e;hb=HEAD;hp=ac6ed653acebe91100796075a924a7e2557fb351;hpb=d2bcb6bb734f53f2a454ac68441e1753fd58ca48;p=sliver-openvswitch.git diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst index ac6ed653a..246457249 100755 --- a/debian/openvswitch-switch.postinst +++ b/debian/openvswitch-switch.postinst @@ -49,9 +49,10 @@ esac OVS_MISSING_KMOD_OK=yes export OVS_MISSING_KMOD_OK -# Save and restore openflow flows during a package upgrade. -OVS_RESTART_SAVE_FLOWS=yes -export OVS_RESTART_SAVE_FLOWS +# force-reload-kmod during upgrade. If a user wants to override this, +# they can set the variable OVS_FORCE_RELOAD_KMOD=no while installing. +[ -z "${OVS_FORCE_RELOAD_KMOD}" ] && OVS_FORCE_RELOAD_KMOD=yes || true +export OVS_FORCE_RELOAD_KMOD #DEBHELPER#