1 |
nightmorph 08/01/10 06:15:12 |
2 |
|
3 |
Modified: vpnc-howto.xml |
4 |
Log: |
5 |
updated for bug 204706 |
6 |
|
7 |
Revision Changes Path |
8 |
1.5 xml/htdocs/doc/en/vpnc-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/vpnc-howto.xml?rev=1.5&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/vpnc-howto.xml?rev=1.5&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/vpnc-howto.xml?r1=1.4&r2=1.5 |
13 |
|
14 |
Index: vpnc-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/vpnc-howto.xml,v |
17 |
retrieving revision 1.4 |
18 |
retrieving revision 1.5 |
19 |
diff -u -r1.4 -r1.5 |
20 |
--- vpnc-howto.xml 7 Nov 2007 20:42:43 -0000 1.4 |
21 |
+++ vpnc-howto.xml 10 Jan 2008 06:15:12 -0000 1.5 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/vpnc-howto.xml,v 1.4 2007/11/07 20:42:43 nightmorph Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/vpnc-howto.xml,v 1.5 2008/01/10 06:15:12 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/vpnc-howto.xml"> |
29 |
@@ -25,8 +25,8 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license/> |
32 |
|
33 |
-<version>1.2</version> |
34 |
-<date>2007-11-07</date> |
35 |
+<version>1.3</version> |
36 |
+<date>2008-01-09</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Introduction</title> |
40 |
@@ -708,25 +708,32 @@ |
41 |
<body> |
42 |
|
43 |
<p> |
44 |
-Version 0.4.0-r1 of vpnc brings an init file for Gentoo which even can handle |
45 |
-multiple configurations. You will find a file <path>/etc/init.d/vpnc</path> |
46 |
-which can be handled by the usual means of init scripts. The default looks for |
47 |
-<path>/etc/vpnc/vpnc.conf</path>, the scheme is sketched in the following |
48 |
-table. |
49 |
+Version 0.4.0-r1 of vpnc contains an init script (<path>/etc/init.d/vpnc</path>) |
50 |
+which can handle multiple configurations. The default script looks for |
51 |
+<path>/etc/vpnc/vpnc.conf</path>, but as many configurations as can be imagined |
52 |
+are possible. Before and after shutdown and start-up custom-made scripts can be |
53 |
+executed that are connected by their name to the corresponding init script |
54 |
+(since version 0.5.1-r1). Their names end in <path>-preup.sh</path>, |
55 |
+<path>-postup.sh</path>, <path>-predown.sh</path> and <path>-postdown.sh</path>, |
56 |
+stored in the <path>/etc/init.d/scripts.d/</path> directory. The general naming |
57 |
+scheme is sketched in the following table. |
58 |
</p> |
59 |
|
60 |
<table> |
61 |
<tr> |
62 |
<th>init script name</th> |
63 |
<th>needed configuration file</th> |
64 |
+ <th>preup script name</th> |
65 |
</tr> |
66 |
<tr> |
67 |
<ti>/etc/init.d/vpnc</ti> |
68 |
<ti>/etc/vpnc/vpnc.conf</ti> |
69 |
+ <ti>/etc/vpnc/scripts.d/vpnc-preup.sh</ti> |
70 |
</tr> |
71 |
<tr> |
72 |
<ti>/etc/init.d/vpnc.work</ti> |
73 |
<ti>/etc/vpnc/work.conf</ti> |
74 |
+ <ti>/etc/vpnc/scripts.d/work-preup.sh</ti> |
75 |
</tr> |
76 |
</table> |
77 |
|
78 |
|
79 |
|
80 |
|
81 |
-- |
82 |
gentoo-doc-cvs@l.g.o mailing list |