projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Add skb_csum_help compatibility function.
[openvswitch]
/
debian
/
openvswitch-switch.postinst
diff --git
a/debian/openvswitch-switch.postinst
b/debian/openvswitch-switch.postinst
index 74b52ba90f09644982d1b98fcaf9efed7ba6bb94..4be5a30c76c60ee27c5a4799b31e71f7b3364d18 100755
(executable)
--- a/
debian/openvswitch-switch.postinst
+++ b/
debian/openvswitch-switch.postinst
@@
-33,6
+33,17
@@
case "$1" in
fi
done
fi
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)
;;
abort-upgrade|abort-remove|abort-deconfigure)