Gentoo Archives: gentoo-doc-cvs

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: openrc-migration.xml
Date: Thu, 13 Jan 2011 04:03:51
Message-Id: 20110113031901.8514F2004E@flycatcher.gentoo.org
1 robbat2 11/01/13 03:19:01
2
3 Modified: openrc-migration.xml
4 Log:
5 Explicitly state that bash arrays with multiple entries should be converted to newlines.
6
7 Revision Changes Path
8 1.20 xml/htdocs/doc/en/openrc-migration.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.20&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.20&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/openrc-migration.xml?r1=1.19&r2=1.20
13
14 Index: openrc-migration.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v
17 retrieving revision 1.19
18 retrieving revision 1.20
19 diff -p -w -b -B -u -u -r1.19 -r1.20
20 --- openrc-migration.xml 1 Dec 2010 09:47:36 -0000 1.19
21 +++ openrc-migration.xml 13 Jan 2011 03:19:01 -0000 1.20
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.19 2010/12/01 09:47:36 jkt Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.20 2011/01/13 03:19:01 robbat2 Exp $ -->
27
28 <guide link="/doc/en/openrc-migration.xml">
29 <title>Baselayout and OpenRC Migration Guide</title>
30 @@ -11,6 +11,9 @@
31 <author title="Author">
32 <mail link="nightmorph"/>
33 </author>
34 +<author title="Author">
35 + <mail link="robbat2"/>
36 +</author>
37 <author title="Contributor">
38 <mail link="uberlord"/>
39 </author>
40 @@ -24,8 +27,8 @@ OpenRC.
41 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
42 <license/>
43
44 -<version>3</version>
45 -<date>2010-12-01</date>
46 +<version>4</version>
47 +<date>2011-01-12</date>
48
49 <chapter>
50 <title>Background</title>
51 @@ -299,21 +302,23 @@ device.
52 </p>
53
54 <p>
55 -Also, <path>/etc/conf.d/net</path> no longer uses bash-style arrays for
56 -configuration. Please review
57 +Also, <path>/etc/conf.d/net</path> (oldnet) no longer uses bash-style arrays
58 +for configuration. Please review
59 <path>/usr/share/doc/openrc-&lt;version&gt;/net.example</path> for configuration
60 -instructions. Conversion should be relatively straight-forward, for example a
61 -static IP assignment would change as follows:
62 +instructions. Conversion should be relatively straight-forward, converting to
63 +newlines for seperate entries, for example a static IP assignment would change
64 +as follows:
65 </p>
66
67 <pre caption="Old /etc/conf.d/net style">
68 config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" )
69 -routes_eth0=( "default via 192.168.1.100" )
70 +routes_eth0=( "default via 192.168.1.100" "10.0.0.0/8 via 192.168.1.2" )
71 </pre>
72
73 <pre caption="New /etc/conf.d/net style">
74 config_eth0="192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255"
75 -routes_eth0="default via 192.168.1.100"
76 +routes_eth0="default via 192.168.1.100
77 +10.0.0.0/8 via 192.168.1.2"
78 </pre>
79
80 </body>