Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-working-rcscripts.xml
Date: Wed, 02 Mar 2011 08:09:58
Message-Id: 20110302080948.2746E2004F@flycatcher.gentoo.org
1 nightmorph 11/03/02 08:09:48
2
3 Modified: hb-working-rcscripts.xml
4 Log:
5 add suggestion on posix-compliance for initscripts, bug 353979
6
7 Revision Changes Path
8 1.32 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.32&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.32&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.31&r2=1.32
13
14 Index: hb-working-rcscripts.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v
17 retrieving revision 1.31
18 retrieving revision 1.32
19 diff -u -r1.31 -r1.32
20 --- hb-working-rcscripts.xml 11 Oct 2007 20:09:02 -0000 1.31
21 +++ hb-working-rcscripts.xml 2 Mar 2011 08:09:48 -0000 1.32
22 @@ -4,7 +4,7 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.31 2007/10/11 20:09:02 nightmorph Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.32 2011/03/02 08:09:48 nightmorph Exp $ -->
28
29 <sections>
30
31 @@ -14,8 +14,8 @@
32 these aspects and explains how to deal with these scripts.
33 </abstract>
34
35 -<version>1.25</version>
36 -<date>2007-10-11</date>
37 +<version>2</version>
38 +<date>2011-03-02</date>
39
40 <section>
41 <title>Runlevels</title>
42 @@ -651,7 +651,11 @@
43
44 <p>
45 Gentoo's init script syntax is based on the Bourne Again Shell (bash) so you are
46 -free to use bash-compatible constructs inside your init script.
47 +free to use bash-compatible constructs inside your init script. However, you may
48 +want to write your init scripts to be POSIX-compliant. Future init script
49 +systems may allow symlinking <path>/bin/sh</path> to other shells besides
50 +bash. Init scripts that rely on bash-only features will then break these
51 +configurations.
52 </p>
53
54 </body>