X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.postinst;h=2464572496584504026cbeb030917c86fa8fa39e;hb=add037c6b692db9c66dd0c16dff2d4b1b46c7499;hp=7b9d7bc89a0e19093322e21c2e96d91836ee3901;hpb=8a5b3cfd91841c97fbc8a003857cacbd602646ed;p=sliver-openvswitch.git diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst index 7b9d7bc89..246457249 100755 --- a/debian/openvswitch-switch.postinst +++ b/debian/openvswitch-switch.postinst @@ -49,6 +49,11 @@ esac OVS_MISSING_KMOD_OK=yes export OVS_MISSING_KMOD_OK +# 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# exit 0