2006358f32
tinc (1.0.13-1~bpo50) lenny-backports; urgency=low * New upstream release.
20 lines
420 B
Bash
20 lines
420 B
Bash
#!/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#
|