nightmorph 07/03/08 06:52:27 Modified: hb-working-rcscripts.xml Log: talk about device initiated services for the offline runlevel, bug 169721
Revision Changes Path 1.29 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.29&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.29&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.28&r2=1.29 Index: hb-working-rcscripts.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- hb-working-rcscripts.xml 29 Jan 2007 02:45:56 -0000 1.28 +++ hb-working-rcscripts.xml 8 Mar 2007 06:52:27 -0000 1.29 @@ -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.28 2007/01/29 02:45:56 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.29 2007/03/08 06:52:27 nightmorph Exp $ --> <sections> @@ -14,8 +14,8 @@ these aspects and explains how to deal with these scripts. </abstract> -<version>1.22</version> -<date>2006-09-07</date> +<version>1.23</version> +<date>2007-03-07</date> <section> <title>Runlevels</title> @@ -755,6 +755,25 @@ </pre> <p> +Even though <c>net.eth0</c> has been removed from the offline runlevel, +<c>udev</c> will still attempt to start any devices it detects and launch the +appropriate services. Therefore, you will need to add each network service you +do not want started (as well as services for any other devices that may be +started by udev) to <path>/etc/conf.d/rc</path> as shown. +</p> + +<pre caption="Disabling device initiated services in /etc/conf.d/rc"> +RC_COLDPLUG="yes" +<comment>(Next, specify the services you do not want automatically started)</comment> +RC_PLUG_SERVICES="!net.eth0" +</pre> + +<note> +For more information on device initiated services, please see the comments +inside <path>/etc/conf.d/rc</path>. +</note> + +<p> Now edit your bootloader configuration and add a new entry for the <c>offline</c> runlevel. For instance, in <path>/boot/grub/grub.conf</path>: </p> -- [email protected] mailing list
