From: | "Christian Faulhammer (opfer)" <opfer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/vpnc/files: vpnc-2.init |
Date: | Thu, 11 Sep 2008 22:39:23 |
Message-Id: | E1Kduoq-0003Do-Uk@stork.gentoo.org |
1 | opfer 08/09/11 22:39:20 |
2 | |
3 | Modified: vpnc-2.init |
4 | Log: |
5 | source /etc/conf.d/vpnc always as people likely rename their init scripts; reported by Eckard Brauer <ecki AT intershop DOT de> in bug 237078 |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.3 net-misc/vpnc/files/vpnc-2.init |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/files/vpnc-2.init?rev=1.3&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/files/vpnc-2.init?rev=1.3&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/vpnc/files/vpnc-2.init?r1=1.2&r2=1.3 |
14 | |
15 | Index: vpnc-2.init |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-2.init,v |
18 | retrieving revision 1.2 |
19 | retrieving revision 1.3 |
20 | diff -u -r1.2 -r1.3 |
21 | --- vpnc-2.init 4 Apr 2008 06:32:53 -0000 1.2 |
22 | +++ vpnc-2.init 11 Sep 2008 22:39:20 -0000 1.3 |
23 | @@ -2,7 +2,7 @@ |
24 | |
25 | # Copyright 1999-2007 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-2.init,v 1.2 2008/04/04 06:32:53 opfer Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-2.init,v 1.3 2008/09/11 22:39:20 opfer Exp $ |
29 | |
30 | VPNDIR="/etc/vpnc" |
31 | VPN="${SVCNAME#*.}" |
32 | @@ -17,6 +17,9 @@ |
33 | PREDOWNSCRIPT="${VPNSCRIPTDIR}/${VPN}-predown.sh" |
34 | POSTUPSCRIPT="${VPNSCRIPTDIR}/${VPN}-postup.sh" |
35 | POSTDOWNSCRIPT="${VPNSCRIPTDIR}/${VPN}-postdown.sh" |
36 | +# We should source this file to avoid problems when init script |
37 | +# name differs from the default name |
38 | +source /etc/conf.d/vpnc |
39 | |
40 | depend() { |
41 | need net |