diff options
| -rw-r--r-- | etc/rc.conf.in | 8 | ||||
| -rw-r--r-- | src/rc/runscript.c | 2 | 
2 files changed, 6 insertions, 4 deletions
diff --git a/etc/rc.conf.in b/etc/rc.conf.in index 3c3ed1b3..1bb3b27c 100644 --- a/etc/rc.conf.in +++ b/etc/rc.conf.in @@ -22,15 +22,17 @@ rc_interactive="YES"  # come up.  rc_depend_strict="YES" -# rc_hotplug is a list of services that we allow to be hotplugged, -# by default allow all. +# rc_hotplug is a list of services that we allow to be hotplugged. +# By default we do not allow hotplugging.  # A hotplugged service is one started by a dynamic dev manager when a matching  # hardware device is found.  # This service is intrinsically included in the boot runlevel.  # To disable services, prefix with a !  # Example - rc_hotplug="net.wlan !net.*"  # This allows net.wlan and any service not matching net.* to be plugged. -rc_hotplug="*" +# Example - rc_hotplug="*" +# This allows all services to be hotplugged +#rc_hotplug="*"  # rc_logger launches a logging daemon to log the entire rc process to  # /var/log/rc.log diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 0b34d854..4fc12bfe 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -1111,7 +1111,7 @@ service_plugable(void)  	if (!match)  		match = rc_conf_value("rc_plug_services");  	if (!match) -		return true; +		return false;  	list = xstrdup(match);  	p = list;  | 
