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