Gentoo Archives: gentoo-commits

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/en/handbook: hb-working-rcscripts.xml
Date: Wed, 31 Oct 2012 19:02:37
Message-Id: 20121031190221.2CD9520E47@flycatcher.gentoo.org
1 swift 12/10/31 19:02:21
2
3 Modified: hb-working-rcscripts.xml
4 Log:
5 Fix bug #431790 - Init scripts should be posix-sh, not bash
6
7 Revision Changes Path
8 1.38 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.38&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.38&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.37&r2=1.38
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.37
18 retrieving revision 1.38
19 diff -u -r1.37 -r1.38
20 --- hb-working-rcscripts.xml 24 Jul 2012 12:12:52 -0000 1.37
21 +++ hb-working-rcscripts.xml 31 Oct 2012 19:02:20 -0000 1.38
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.37 2012/07/24 12:12:52 swift Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.38 2012/10/31 19:02:20 swift 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>6</version>
36 -<date>2012-07-24</date>
37 +<version>7</version>
38 +<date>2012-10-31</date>
39
40 <section>
41 <title>Runlevels</title>
42 @@ -703,12 +703,11 @@
43 </pre>
44
45 <p>
46 -Gentoo's init script syntax is based on the Bourne Again Shell (bash) so you are
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 +Gentoo's init script syntax is based on the POSIX Shell so you are
53 +free to use sh-compatible constructs inside your init script. Keep other
54 +constructs, like bash-specific ones, out of the init scripts to ensure that the
55 +scripts remain functional regardless of the change Gentoo might do on its init
56 +system.
57 </p>
58
59 </body>