1 |
commit: 6cae41a4e63510cdcf3af1153d6e8300435e1838 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Oct 21 17:49:00 2015 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 21 17:49:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6cae41a4 |
7 |
|
8 |
etc/rc.conf: Clean up documentation for rc_hotplug |
9 |
|
10 |
X-Gentoo-Bug: 554540 |
11 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=554540 |
12 |
|
13 |
etc/rc.conf.in | 19 +++++++++++-------- |
14 |
1 file changed, 11 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --git a/etc/rc.conf.in b/etc/rc.conf.in |
17 |
index 1b78c88..3159165 100644 |
18 |
--- a/etc/rc.conf.in |
19 |
+++ b/etc/rc.conf.in |
20 |
@@ -29,17 +29,20 @@ |
21 |
# come up. |
22 |
#rc_depend_strict="YES" |
23 |
|
24 |
-# rc_hotplug is a list of services that we allow to be hotplugged. |
25 |
-# By default we do not allow hotplugging. |
26 |
+# rc_hotplug controls which services we allow to be hotplugged. |
27 |
# A hotplugged service is one started by a dynamic dev manager when a matching |
28 |
# hardware device is found. |
29 |
-# This service is intrinsically included in the boot runlevel. |
30 |
-# To disable services, prefix with a ! |
31 |
+# Hotplugged services appear in the "hotplugged" runlevel. |
32 |
+# If rc_hotplug is set to any value, we compare the name of this service |
33 |
+# to every pattern in the value, from left to right, and we allow the |
34 |
+# service to be hotplugged if it matches a pattern, or if it matches no |
35 |
+# patterns. Patterns can include shell wildcards. |
36 |
+# To disable services from being hotplugged, prefix patterns with "!". |
37 |
+#If rc_hotplug is not set or is empty, all hotplugging is disabled. |
38 |
# Example - rc_hotplug="net.wlan !net.*" |
39 |
-# This allows net.wlan and any service not matching net.* to be plugged. |
40 |
-# Example - rc_hotplug="*" |
41 |
-# This allows all services to be hotplugged |
42 |
-#rc_hotplug="*" |
43 |
+# This allows net.wlan and any service not matching net.* to be hotplugged. |
44 |
+# Example - rc_hotplug="!net.*" |
45 |
+# This allows services that do not match "net.*" to be hotplugged. |
46 |
|
47 |
# rc_logger launches a logging daemon to log the entire rc process to |
48 |
# /var/log/rc.log |