2 # postinst script for #PACKAGE#
4 # see: dh_installdeb(1)
10 # If the switch is running, restart it. This ensures that we are using the
11 # latest kernel module, because the init script will unload and reload the
14 # (Ideally we'd only want to do this if this package corresponds to the
15 # running kernel, but I don't know a reliable way to check.)
16 INIT=/etc/init.d/openvswitch-switch
17 if test -x $INIT && $INIT status; then