From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JghAO-0006dq-Oo for garchives@archives.gentoo.org; Tue, 01 Apr 2008 14:08:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98951E0669; Tue, 1 Apr 2008 14:08:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 61716E0669 for ; Tue, 1 Apr 2008 14:08:47 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 03C2FB4780 for ; Tue, 1 Apr 2008 14:08:47 +0000 (UTC) Received: from dragonheart by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JghAL-0000BR-Rk for gentoo-commits@lists.gentoo.org; Tue, 01 Apr 2008 14:08:45 +0000 From: "Daniel Black (dragonheart)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dragonheart@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-misc/tinc/files: tincd tinc.networks X-VCS-Repository: gentoo-x86 X-VCS-Files: tincd tinc.networks X-VCS-Directories: net-misc/tinc/files X-VCS-Committer: dragonheart X-VCS-Committer-Name: Daniel Black Content-Type: text/plain; charset=utf8 Message-Id: Sender: Daniel Black Date: Tue, 01 Apr 2008 14:08:45 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9fb15bf7-5090-4230-a412-3fd337a02dab X-Archives-Hash: ed77b28ec0612ddab74fdad1db4fbe8e dragonheart 08/04/01 14:08:45 Modified: tincd Added: tinc.networks Log: fix init script and add an example as per bug #211807 thanks to Sebasti= an Droppelmann. added /etc/tinc directory as per bug #207113 thanks to Je= ns. version bump as per bug #204016 (Portage version: 2.1.4.4) Revision Changes Path 1.5 net-misc/tinc/files/tincd file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/file= s/tincd?rev=3D1.5&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/file= s/tincd?rev=3D1.5&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/file= s/tincd?r1=3D1.4&r2=3D1.5 Index: tincd =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- tincd 19 Apr 2007 08:45:08 -0000 1.4 +++ tincd 1 Apr 2008 14:08:45 -0000 1.5 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd,v 1.4 2007/= 04/19 08:45:08 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd,v 1.5 2008/= 04/01 14:08:45 dragonheart Exp $ =20 opts=3D"reload" =20 @@ -38,7 +38,7 @@ stop() { ebegin "Stopping tinc VPN networks" eend 0 - awk '^ *NETWORK:/{print $2}' /etc/conf.d/tinc.networks | while read TIN= CNET + awk '/^ *NETWORK:/ { print $2 }' /etc/conf.d/tinc.networks | while read= TINCNET do if [ -f /var/run/tinc."$TINCNET".pid ] then @@ -52,7 +52,7 @@ reload() { ebegin "Reloading configuration for tinc VPN networks" eend 0 - awk '^ *NETWORK:/{print $2}' /etc/conf.d/tinc.networks | while read TIN= CNET + awk '/^ *NETWORK:/ { print $2 }' /etc/conf.d/tinc.networks | while read= TINCNET do if [ -f /var/run/tinc."$TINCNET".pid ] then 1.1 net-misc/tinc/files/tinc.networks file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/file= s/tinc.networks?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/file= s/tinc.networks?rev=3D1.1&content-type=3Dtext/plain Index: tinc.networks =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # file: /etc/conf.d/tinc.networks for /etc/init.d/tincd =20 # In this file you define the tinc networks you want to connect to # USAGE: # you add a network to the init script by defining: # NETWORK: your_network_name # # if you want to connect to multiple VPN's just set them behind each othe= r. e.g. # NETWORK: foo # NETWORK: bar #=20 # this would join the network foo and the network bar. --=20 gentoo-commits@lists.gentoo.org mailing list