#!/bin/sh set -e # Automatically added by dh_installinit, edited for use with debconf if [ -x "/etc/init.d/tinc" -a "$1" != "upgrade" ]; 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#