robbat2 11/01/13 03:19:01 Modified: openrc-migration.xml Log: Explicitly state that bash arrays with multiple entries should be converted to newlines.
Revision Changes Path 1.20 xml/htdocs/doc/en/openrc-migration.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.20&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.20&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openrc-migration.xml?r1=1.19&r2=1.20 Index: openrc-migration.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -p -w -b -B -u -u -r1.19 -r1.20 --- openrc-migration.xml 1 Dec 2010 09:47:36 -0000 1.19 +++ openrc-migration.xml 13 Jan 2011 03:19:01 -0000 1.20 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.19 2010/12/01 09:47:36 jkt Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.20 2011/01/13 03:19:01 robbat2 Exp $ --> <guide link="/doc/en/openrc-migration.xml"> <title>Baselayout and OpenRC Migration Guide</title> @@ -11,6 +11,9 @@ <author title="Author"> <mail link="nightmorph"/> </author> +<author title="Author"> + <mail link="robbat2"/> +</author> <author title="Contributor"> <mail link="uberlord"/> </author> @@ -24,8 +27,8 @@ OpenRC. <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>3</version> -<date>2010-12-01</date> +<version>4</version> +<date>2011-01-12</date> <chapter> <title>Background</title> @@ -299,21 +302,23 @@ device. </p> <p> -Also, <path>/etc/conf.d/net</path> no longer uses bash-style arrays for -configuration. Please review +Also, <path>/etc/conf.d/net</path> (oldnet) no longer uses bash-style arrays +for configuration. Please review <path>/usr/share/doc/openrc-<version>/net.example</path> for configuration -instructions. Conversion should be relatively straight-forward, for example a -static IP assignment would change as follows: +instructions. Conversion should be relatively straight-forward, converting to +newlines for seperate entries, for example a static IP assignment would change +as follows: </p> <pre caption="Old /etc/conf.d/net style"> config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" ) -routes_eth0=( "default via 192.168.1.100" ) +routes_eth0=( "default via 192.168.1.100" "10.0.0.0/8 via 192.168.1.2" ) </pre> <pre caption="New /etc/conf.d/net style"> config_eth0="192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" -routes_eth0="default via 192.168.1.100" +routes_eth0="default via 192.168.1.100 +10.0.0.0/8 via 192.168.1.2" </pre> </body>