tinc/debian/prerm
Guus Sliepen 4812d2eb3d Import Debian changes 1.0.9-1
tinc (1.0.9-1) unstable; urgency=low

  * New upstream release.
    - Binds IPv6 sockets only to IPv6. Closes: #440150
  * Update copyright file. Closes: #482566
2019-08-26 13:44:38 +02:00

20 lines
399 B
Bash

#!/bin/sh
set -e
# Automatically added by dh_installinit, edited for use with debconf
if [ -x "/etc/init.d/tinc" ]; then
if [ -e /usr/share/debconf/confmodule ] ; then
. /usr/share/debconf/confmodule
db_get tinc/restart_on_upgrade
if [ "$RET" = "true" ] ; then
invoke-rc.d tinc stop
fi
db_stop
else
invoke-rc.d tinc stop
fi
fi
# End automatically added section
#DEBHELPER#