We no longer hotplug by default.

This commit is contained in:
Roy Marples 2008-10-30 15:03:12 +00:00
parent 2ff0838abb
commit 1c73f2967c
2 changed files with 6 additions and 4 deletions

View File

@ -22,15 +22,17 @@ rc_interactive="YES"
# come up. # come up.
rc_depend_strict="YES" rc_depend_strict="YES"
# rc_hotplug is a list of services that we allow to be hotplugged, # rc_hotplug is a list of services that we allow to be hotplugged.
# by default allow all. # By default we do not allow hotplugging.
# A hotplugged service is one started by a dynamic dev manager when a matching # A hotplugged service is one started by a dynamic dev manager when a matching
# hardware device is found. # hardware device is found.
# This service is intrinsically included in the boot runlevel. # This service is intrinsically included in the boot runlevel.
# To disable services, prefix with a ! # To disable services, prefix with a !
# Example - rc_hotplug="net.wlan !net.*" # Example - rc_hotplug="net.wlan !net.*"
# This allows net.wlan and any service not matching net.* to be plugged. # 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 # rc_logger launches a logging daemon to log the entire rc process to
# /var/log/rc.log # /var/log/rc.log

View File

@ -1111,7 +1111,7 @@ service_plugable(void)
if (!match) if (!match)
match = rc_conf_value("rc_plug_services"); match = rc_conf_value("rc_plug_services");
if (!match) if (!match)
return true; return false;
list = xstrdup(match); list = xstrdup(match);
p = list; p = list;