nightmorph 08/01/10 06:15:12 Modified: vpnc-howto.xml Log: updated for bug 204706
Revision Changes Path 1.5 xml/htdocs/doc/en/vpnc-howto.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/vpnc-howto.xml?rev=1.5&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/vpnc-howto.xml?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/vpnc-howto.xml?r1=1.4&r2=1.5 Index: vpnc-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/vpnc-howto.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- vpnc-howto.xml 7 Nov 2007 20:42:43 -0000 1.4 +++ vpnc-howto.xml 10 Jan 2008 06:15:12 -0000 1.5 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/vpnc-howto.xml,v 1.4 2007/11/07 20:42:43 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/vpnc-howto.xml,v 1.5 2008/01/10 06:15:12 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/vpnc-howto.xml"> @@ -25,8 +25,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.2</version> -<date>2007-11-07</date> +<version>1.3</version> +<date>2008-01-09</date> <chapter> <title>Introduction</title> @@ -708,25 +708,32 @@ <body> <p> -Version 0.4.0-r1 of vpnc brings an init file for Gentoo which even can handle -multiple configurations. You will find a file <path>/etc/init.d/vpnc</path> -which can be handled by the usual means of init scripts. The default looks for -<path>/etc/vpnc/vpnc.conf</path>, the scheme is sketched in the following -table. +Version 0.4.0-r1 of vpnc contains an init script (<path>/etc/init.d/vpnc</path>) +which can handle multiple configurations. The default script looks for +<path>/etc/vpnc/vpnc.conf</path>, but as many configurations as can be imagined +are possible. Before and after shutdown and start-up custom-made scripts can be +executed that are connected by their name to the corresponding init script +(since version 0.5.1-r1). Their names end in <path>-preup.sh</path>, +<path>-postup.sh</path>, <path>-predown.sh</path> and <path>-postdown.sh</path>, +stored in the <path>/etc/init.d/scripts.d/</path> directory. The general naming +scheme is sketched in the following table. </p> <table> <tr> <th>init script name</th> <th>needed configuration file</th> + <th>preup script name</th> </tr> <tr> <ti>/etc/init.d/vpnc</ti> <ti>/etc/vpnc/vpnc.conf</ti> + <ti>/etc/vpnc/scripts.d/vpnc-preup.sh</ti> </tr> <tr> <ti>/etc/init.d/vpnc.work</ti> <ti>/etc/vpnc/work.conf</ti> + <ti>/etc/vpnc/scripts.d/work-preup.sh</ti> </tr> </table> -- [email protected] mailing list
