/[gentoo]/xml/htdocs/doc/en/openrc-migration.xml
Gentoo

Diff of /xml/htdocs/doc/en/openrc-migration.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.19 Revision 1.20
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.19 2010/12/01 09:47:36 jkt Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.20 2011/01/13 03:19:01 robbat2 Exp $ -->
4 4
5<guide link="/doc/en/openrc-migration.xml"> 5<guide link="/doc/en/openrc-migration.xml">
6<title>Baselayout and OpenRC Migration Guide</title> 6<title>Baselayout and OpenRC Migration Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="cardoe"/> 9 <mail link="cardoe"/>
10</author> 10</author>
11<author title="Author"> 11<author title="Author">
12 <mail link="nightmorph"/> 12 <mail link="nightmorph"/>
13</author> 13</author>
14<author title="Author">
15 <mail link="robbat2"/>
16</author>
14<author title="Contributor"> 17<author title="Contributor">
15 <mail link="uberlord"/> 18 <mail link="uberlord"/>
16</author> 19</author>
17 20
18<abstract> 21<abstract>
22 25
23<!-- The content of this document is licensed under the CC-BY-SA license --> 26<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 27<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 28<license/>
26 29
27<version>3</version> 30<version>4</version>
28<date>2010-12-01</date> 31<date>2011-01-12</date>
29 32
30<chapter> 33<chapter>
31<title>Background</title> 34<title>Background</title>
32<section> 35<section>
33<title>What's baselayout?</title> 36<title>What's baselayout?</title>
297to re-add them. Simply replace <c>eth0</c> with the name of your network 300to re-add them. Simply replace <c>eth0</c> with the name of your network
298device. 301device.
299</p> 302</p>
300 303
301<p> 304<p>
302Also, <path>/etc/conf.d/net</path> no longer uses bash-style arrays for 305Also, <path>/etc/conf.d/net</path> (oldnet) no longer uses bash-style arrays
303configuration. Please review 306for configuration. Please review
304<path>/usr/share/doc/openrc-&lt;version&gt;/net.example</path> for configuration 307<path>/usr/share/doc/openrc-&lt;version&gt;/net.example</path> for configuration
305instructions. Conversion should be relatively straight-forward, for example a 308instructions. Conversion should be relatively straight-forward, converting to
306static IP assignment would change as follows: 309newlines for seperate entries, for example a static IP assignment would change
310as follows:
307</p> 311</p>
308 312
309<pre caption="Old /etc/conf.d/net style"> 313<pre caption="Old /etc/conf.d/net style">
310config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" ) 314config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" )
311routes_eth0=( "default via 192.168.1.100" ) 315routes_eth0=( "default via 192.168.1.100" "10.0.0.0/8 via 192.168.1.2" )
312</pre> 316</pre>
313 317
314<pre caption="New /etc/conf.d/net style"> 318<pre caption="New /etc/conf.d/net style">
315config_eth0="192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" 319config_eth0="192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255"
316routes_eth0="default via 192.168.1.100" 320routes_eth0="default via 192.168.1.100
32110.0.0.0/8 via 192.168.1.2"
317</pre> 322</pre>
318 323
319</body> 324</body>
320</section> 325</section>
321<section> 326<section>

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20