meta-flow: Correctly set destination MAC in mf_set_flow_value().
[sliver-openvswitch.git] / debian / openvswitch-switch.postinst
index 4be5a30..7b9d7bc 100755 (executable)
@@ -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
-
-