swift 12/10/31 19:02:21 Modified: hb-working-rcscripts.xml Log: Fix bug #431790 - Init scripts should be posix-sh, not bash
Revision Changes Path 1.38 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.38&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.38&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.37&r2=1.38 Index: hb-working-rcscripts.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- hb-working-rcscripts.xml 24 Jul 2012 12:12:52 -0000 1.37 +++ hb-working-rcscripts.xml 31 Oct 2012 19:02:20 -0000 1.38 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.37 2012/07/24 12:12:52 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.38 2012/10/31 19:02:20 swift Exp $ --> <sections> @@ -14,8 +14,8 @@ these aspects and explains how to deal with these scripts. </abstract> -<version>6</version> -<date>2012-07-24</date> +<version>7</version> +<date>2012-10-31</date> <section> <title>Runlevels</title> @@ -703,12 +703,11 @@ </pre> <p> -Gentoo's init script syntax is based on the Bourne Again Shell (bash) so you are -free to use bash-compatible constructs inside your init script. However, you may -want to write your init scripts to be POSIX-compliant. Future init script -systems may allow symlinking <path>/bin/sh</path> to other shells besides -bash. Init scripts that rely on bash-only features will then break these -configurations. +Gentoo's init script syntax is based on the POSIX Shell so you are +free to use sh-compatible constructs inside your init script. Keep other +constructs, like bash-specific ones, out of the init scripts to ensure that the +scripts remain functional regardless of the change Gentoo might do on its init +system. </p> </body>