Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84273 Details for
Bug 129331
RC_COLDPLUG for baselayout
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds RC_COLDPLUG variable
rc-coldplug.patch (text/plain), 1.50 KB, created by
Roy Marples (RETIRED)
on 2006-04-09 06:50:12 UTC
(
hide
)
Description:
Adds RC_COLDPLUG variable
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2006-04-09 06:50:12 UTC
Size:
1.50 KB
patch
obsolete
>Index: etc/conf.d/rc >=================================================================== >--- etc/conf.d/rc (revision 1964) >+++ etc/conf.d/rc (working copy) >@@ -16,6 +16,13 @@ > > RC_INTERACTIVE="yes" > >+# Dynamic /dev managers can trigger coldplug events which cause services to >+# start before we are ready for them. If this happens, we can defer these >+# services to start in the boot runlevel. If you don't want this then set >+# RC_COLDPLUG to no. >+ >+RC_COLDPLUG="net.wlan" >+ > # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service. > # The following values are allowed: > # none - The 'net' service is always considered up. >Index: sbin/runscript.sh >=================================================================== >--- sbin/runscript.sh (revision 1964) >+++ sbin/runscript.sh (working copy) >@@ -27,10 +27,13 @@ > # until after rc sysinit has completed so we punt them to the boot runlevel > if [[ -e /dev/.rcsysinit ]] ; then > eerror "ERROR: cannot run ${SVCNAME} until sysinit completes" >- eerror "${SVCNAME} will be started in the ${BOOTLEVEL} runlevel" >- if [[ ! -L /dev/.rcboot/"${SVCNAME}" ]] ; then >- [[ ! -d /dev/.rcboot ]] && mkdir /dev/.rcboot >- ln -snf "$1" /dev/.rcboot/"${SVCNAME}" >+ if [[ ${RC_COLDPLUG} == "yes" \ >+ || " ${RC_COLDPLUG} " == *" ${SVCNAME} "* ]] ; then >+ eerror "${SVCNAME} will be started in the ${BOOTLEVEL} runlevel" >+ if [[ ! -L /dev/.rcboot/"${SVCNAME}" ]] ; then >+ [[ ! -d /dev/.rcboot ]] && mkdir /dev/.rcboot >+ ln -snf "$1" /dev/.rcboot/"${SVCNAME}" >+ fi > fi > exit 1 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 129331
: 84273