Import Debian changes 1.0.15-1

tinc (1.0.15-1) unstable; urgency=low

  * New upstream release.
  * Send SIGALRM to running tinc daemons whenever an interface is brought up
    with the ifupdown framework. Based on a patch from Joachim Breitner.
    Closes: #629880
  * Allow tinc daemons to be started using ifupdown.
This commit is contained in:
Guus Sliepen 2011-06-24 18:21:51 +02:00
commit 2ad1dc3fd7
66 changed files with 887 additions and 496 deletions

19
debian/tinc.if-post-down vendored Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
set -e
if [ "$IF_TINC_NET" ] ; then
tincd -n "$IF_TINC_NET" -k
sleep 0.1
i=0;
while [ -f "/var/run/tinc.$IF_TINC_NET.pid" ] ; do
if [ $i = '30' ] ; then
echo 'Failed to stop tinc daemon!'
exit 1
fi
sleep 0.1
i=$(($i+1))
done
fi
exit 0