rc_coldplug=no really stops all coldplug events
This commit is contained in:
parent
c6774d1c74
commit
862e07c8fd
@ -120,9 +120,9 @@ mount_svcdir()
|
|||||||
# Compat shim for udev
|
# Compat shim for udev
|
||||||
rc_coldplug=${rc_coldplug:-${RC_COLDPLUG:-yes}}
|
rc_coldplug=${rc_coldplug:-${RC_COLDPLUG:-yes}}
|
||||||
if yesno "${rc_coldplug}"; then
|
if yesno "${rc_coldplug}"; then
|
||||||
RC_COLDPLUG=yes
|
RC_COLDPLUG=YES
|
||||||
else
|
else
|
||||||
RC_COLDPLUG=no
|
RC_COLDPLUG=NO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the console loglevel to 1 for a cleaner boot
|
# Set the console loglevel to 1 for a cleaner boot
|
||||||
|
@ -839,6 +839,7 @@ int main (int argc, char **argv)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (rc_service_exists (d->d_name) &&
|
if (rc_service_exists (d->d_name) &&
|
||||||
|
rc_conf_yesno ("rc_coldplug") &&
|
||||||
service_plugable (d->d_name))
|
service_plugable (d->d_name))
|
||||||
rc_service_mark (d->d_name, RC_SERVICE_COLDPLUGGED);
|
rc_service_mark (d->d_name, RC_SERVICE_COLDPLUGGED);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user