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
13 lines
244 B
Bash
Executable file
13 lines
244 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" stop $EXTRA
|
|
else
|
|
/usr/sbin/tinc -n "$IF_TINC_NET" --pidfile="$IF_TINC_PIDFILE" stop
|
|
fi
|
|
|
|
exit 0
|