--- xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml 2011/08/12 19:34:56 1.33 +++ xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml 2011/08/14 16:12:13 1.34 @@ -4,7 +4,7 @@ - + @@ -778,21 +778,25 @@

Even though net.eth0 has been removed from the offline runlevel, -udev 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 /etc/conf.d/rc as shown. +udev might want to attempt to start any devices it detects and launch the +appropriate services, a functionality that is called hotplugging. By +default, Gentoo does not enable hotplugging.

-
-RC_COLDPLUG="yes"
-(Next, specify the services you do not want automatically started)
-RC_PLUG_SERVICES="!net.eth0"
+

+If you do want to enable hotplugging, but only for a selected set of scripts, +use the rc_hotplug variable in /etc/rc.conf: +

+ +
+# Allow net.wlan as well as any other service, except those matching net.*
+# to be hotplugged
+rc_hotplug="net.wlan !net.*"
 
For more information on device initiated services, please see the comments -inside /etc/conf.d/rc. +inside /etc/rc.conf.