1 |
nightmorph 07/03/08 06:52:27 |
2 |
|
3 |
Modified: hb-working-rcscripts.xml |
4 |
Log: |
5 |
talk about device initiated services for the offline runlevel, bug 169721 |
6 |
|
7 |
Revision Changes Path |
8 |
1.29 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.29&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.29&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.28&r2=1.29 |
13 |
|
14 |
Index: hb-working-rcscripts.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v |
17 |
retrieving revision 1.28 |
18 |
retrieving revision 1.29 |
19 |
diff -u -r1.28 -r1.29 |
20 |
--- hb-working-rcscripts.xml 29 Jan 2007 02:45:56 -0000 1.28 |
21 |
+++ hb-working-rcscripts.xml 8 Mar 2007 06:52:27 -0000 1.29 |
22 |
@@ -4,7 +4,7 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.28 2007/01/29 02:45:56 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.29 2007/03/08 06:52:27 nightmorph Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -14,8 +14,8 @@ |
32 |
these aspects and explains how to deal with these scripts. |
33 |
</abstract> |
34 |
|
35 |
-<version>1.22</version> |
36 |
-<date>2006-09-07</date> |
37 |
+<version>1.23</version> |
38 |
+<date>2007-03-07</date> |
39 |
|
40 |
<section> |
41 |
<title>Runlevels</title> |
42 |
@@ -755,6 +755,25 @@ |
43 |
</pre> |
44 |
|
45 |
<p> |
46 |
+Even though <c>net.eth0</c> has been removed from the offline runlevel, |
47 |
+<c>udev</c> will still attempt to start any devices it detects and launch the |
48 |
+appropriate services. Therefore, you will need to add each network service you |
49 |
+do not want started (as well as services for any other devices that may be |
50 |
+started by udev) to <path>/etc/conf.d/rc</path> as shown. |
51 |
+</p> |
52 |
+ |
53 |
+<pre caption="Disabling device initiated services in /etc/conf.d/rc"> |
54 |
+RC_COLDPLUG="yes" |
55 |
+<comment>(Next, specify the services you do not want automatically started)</comment> |
56 |
+RC_PLUG_SERVICES="!net.eth0" |
57 |
+</pre> |
58 |
+ |
59 |
+<note> |
60 |
+For more information on device initiated services, please see the comments |
61 |
+inside <path>/etc/conf.d/rc</path>. |
62 |
+</note> |
63 |
+ |
64 |
+<p> |
65 |
Now edit your bootloader configuration and add a new entry for the |
66 |
<c>offline</c> runlevel. For instance, in <path>/boot/grub/grub.conf</path>: |
67 |
</p> |
68 |
|
69 |
|
70 |
|
71 |
-- |
72 |
gentoo-doc-cvs@g.o mailing list |