Import Debian changes 1.0.19-2~bpo60+1
tinc (1.0.19-2~bpo60+1) squeeze-backports; urgency=low
* Rebuild for squeeze-backports.
* Build-depend on libvdeplug2-dev, not libvdeplug-dev,
as it is how it is named in squeeze.
tinc (1.0.19-2) unstable; urgency=low
* Fix behaviour of tinc-pidfile. Closes: #679130
* Enable parallel building in debian/rules.
This commit is contained in:
parent
06acdce080
commit
cc0493ea17
5 changed files with 25 additions and 6 deletions
6
debian/tinc.if-post-down
vendored
6
debian/tinc.if-post-down
vendored
|
|
@ -3,10 +3,12 @@
|
|||
set -e
|
||||
|
||||
if [ "$IF_TINC_NET" ] ; then
|
||||
tincd -n "$IF_TINC_NET" -k
|
||||
EXTRA=""
|
||||
[ -n "$IF_TINC_PIDFILE" ] && EXTRA="--pidfile=$IF_TINC_PIDFILE" || IF_TINC_PIDFILE=/var/run/tinc.$IF_TINC_NET.pid
|
||||
tincd -n "$IF_TINC_NET" -k $EXTRA
|
||||
sleep 0.1
|
||||
i=0;
|
||||
while [ -f "/var/run/tinc.$IF_TINC_NET.pid" ] ; do
|
||||
while [ -f "$IF_TINC_PIDFILE" ] ; do
|
||||
if [ $i = '30' ] ; then
|
||||
echo 'Failed to stop tinc daemon!'
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue