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 1JCqh9-0003aQ-Lm for garchives@archives.gentoo.org; Thu, 10 Jan 2008 06:15:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C6CDE01D5; Thu, 10 Jan 2008 06:15:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C0ECAE01D5 for ; Thu, 10 Jan 2008 06:15:14 +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 E0A8564DF9 for ; Thu, 10 Jan 2008 06:15:13 +0000 (UTC) Received: from nightmorph by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JCqh6-000515-Gk for gentoo-doc-cvs@lists.gentoo.org; Thu, 10 Jan 2008 06:15:12 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: vpnc-howto.xml Message-Id: From: Joshua Saddler Date: Thu, 10 Jan 2008 06:15:12 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@lists.gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 2117a326-4c62-476f-8184-b7984a5bb64d X-Archives-Hash: 6c72f04153bc410aa6536f4464ba0bae 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 @@ - + @@ -25,8 +25,8 @@ -1.2 -2007-11-07 +1.3 +2008-01-09 Introduction @@ -708,25 +708,32 @@

-Version 0.4.0-r1 of vpnc brings an init file for Gentoo which even can handle -multiple configurations. You will find a file /etc/init.d/vpnc -which can be handled by the usual means of init scripts. The default looks for -/etc/vpnc/vpnc.conf, the scheme is sketched in the following -table. +Version 0.4.0-r1 of vpnc contains an init script (/etc/init.d/vpnc) +which can handle multiple configurations. The default script looks for +/etc/vpnc/vpnc.conf, 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 -preup.sh, +-postup.sh, -predown.sh and -postdown.sh, +stored in the /etc/init.d/scripts.d/ directory. The general naming +scheme is sketched in the following table.

+ /etc/init.d/vpnc/etc/vpnc/vpnc.conf + /etc/vpnc/scripts.d/vpnc-preup.sh/etc/init.d/vpnc.work/etc/vpnc/work.conf + /etc/vpnc/scripts.d/work-preup.sh
init script name needed configuration filepreup script name
-- gentoo-doc-cvs@lists.gentoo.org mailing list