46616ac501
tinc (1.1~pre15-1) experimental; urgency=medium * New upstream release. * Bump Standards-Version. * Bump debian/compat. * Don't use while loops checking PID files anymore, the tinc CLI will wait properly for the daemon to start or stop. Closes: #772379, #832784 * Clean up scripts as suggested by Dominik George. Closes: #832781 * Test for /etc/default/tinc before trying to source it. Closes: #777262
11 lines
231 B
Bash
Executable file
11 lines
231 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
test "$METHOD" != loopback -a -n "$IF_TINC_NET" || exit 0
|
|
|
|
if test -z "$IF_TINC_PIDFILE"; then
|
|
/usr/sbin/tinc -n "$IF_TINC_NET" retry
|
|
else
|
|
/usr/sbin/tinc -n "$IF_TINC_NET" --pidfile="$IF_TINC_PIDFILE" retry
|
|
fi
|