ff4039db4b
tinc (1.1~pre11-1) experimental; urgency=medium * New upstream release. * Update NEWS.Debian to reflect that tincctl has been renamed to tinc. Closes: #729889 * Warn about incompatibility with previous 1.1preX releases, and that new Ed25519 keys should be generated. * Add native systemd service files. * Automatically convert networks listed in nets.boot to systemd service instances on upgrade. * Don't restart tinc on upgrade for now.
23 lines
395 B
Bash
23 lines
395 B
Bash
#! /bin/sh
|
|
|
|
NETSFILE="/etc/tinc/nets.boot"
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
if [ ! -e $NETSFILE ] ; then
|
|
echo "## This file contains all names of the networks to be started on system startup." > $NETSFILE
|
|
fi
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|