X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.postinst;h=7b9d7bc89a0e19093322e21c2e96d91836ee3901;hb=e8fa940e4af32f904ff1958a36f95ad4153eac67;hp=4be5a30c76c60ee27c5a4799b31e71f7b3364d18;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=openvswitch diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst index 4be5a30c..7b9d7bc8 100755 --- a/debian/openvswitch-switch.postinst +++ b/debian/openvswitch-switch.postinst @@ -33,17 +33,6 @@ case "$1" in fi done fi - - if /etc/init.d/openvswitch-switch status >/dev/null 2>&1; then - running=true - /etc/init.d/openvswitch-switch stop - else - running=false - fi - - if $running; then - /etc/init.d/openvswitch-switch start - fi ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -55,8 +44,11 @@ case "$1" in ;; esac +# Do not fail package installation just because the kernel module +# is not available. +OVS_MISSING_KMOD_OK=yes +export OVS_MISSING_KMOD_OK + #DEBHELPER# exit 0 - -