public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/tinc/files: tincd tinc.networks
@ 2008-04-01 14:08 Daniel Black (dragonheart)
  0 siblings, 0 replies; only message in thread
From: Daniel Black (dragonheart) @ 2008-04-01 14:08 UTC (permalink / raw
  To: gentoo-commits

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 Sebastian Droppelmann. added /etc/tinc directory as per bug #207113 thanks to Jens. 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/files/tincd?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/files/tincd?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/files/tincd?r1=1.4&r2=1.5

Index: tincd
===================================================================
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 $
 
 opts="reload"
 
@@ -38,7 +38,7 @@
 stop() {
 	ebegin "Stopping tinc VPN networks"
 	eend 0
-	awk '^ *NETWORK:/{print $2}' /etc/conf.d/tinc.networks | while read TINCNET
+	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 TINCNET
+	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/files/tinc.networks?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tinc/files/tinc.networks?rev=1.1&content-type=text/plain

Index: tinc.networks
===================================================================
# file: /etc/conf.d/tinc.networks for /etc/init.d/tincd
 
# 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 other. e.g.
# NETWORK: foo
# NETWORK: bar
# 
# this would join the network foo and the network bar.



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-01 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 14:08 [gentoo-commits] gentoo-x86 commit in net-misc/tinc/files: tincd tinc.networks Daniel Black (dragonheart)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox