Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 129331
Collapse All | Expand All

(-)etc/conf.d/rc (+7 lines)
Lines 16-21 Link Here
16
16
17
RC_INTERACTIVE="yes"
17
RC_INTERACTIVE="yes"
18
18
19
# Dynamic /dev managers can trigger coldplug events which cause services to
20
# start before we are ready for them. If this happens, we can defer these
21
# services to start in the boot runlevel. If you don't want this then set
22
# RC_COLDPLUG to no.
23
24
RC_COLDPLUG="net.wlan"
25
19
# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
26
# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
20
# The following values are allowed:
27
# The following values are allowed:
21
#  none  - The 'net' service is always considered up.
28
#  none  - The 'net' service is always considered up.
(-)sbin/runscript.sh (-4 / +7 lines)
Lines 27-36 Link Here
27
# until after rc sysinit has completed so we punt them to the boot runlevel
27
# until after rc sysinit has completed so we punt them to the boot runlevel
28
if [[ -e /dev/.rcsysinit ]] ; then
28
if [[ -e /dev/.rcsysinit ]] ; then
29
	eerror "ERROR:  cannot run ${SVCNAME} until sysinit completes"
29
	eerror "ERROR:  cannot run ${SVCNAME} until sysinit completes"
30
	eerror "${SVCNAME} will be started in the ${BOOTLEVEL} runlevel"
30
	if [[ ${RC_COLDPLUG} == "yes" \
31
	if [[ ! -L /dev/.rcboot/"${SVCNAME}" ]] ; then
31
	|| " ${RC_COLDPLUG} " == *" ${SVCNAME} "* ]] ; then
32
		[[ ! -d /dev/.rcboot ]] && mkdir /dev/.rcboot
32
		eerror "${SVCNAME} will be started in the ${BOOTLEVEL} runlevel"
33
		ln -snf "$1" /dev/.rcboot/"${SVCNAME}"
33
		if [[ ! -L /dev/.rcboot/"${SVCNAME}" ]] ; then
34
			[[ ! -d /dev/.rcboot ]] && mkdir /dev/.rcboot
35
			ln -snf "$1" /dev/.rcboot/"${SVCNAME}"
36
		fi
34
	fi
37
	fi
35
	exit 1
38
	exit 1
36
fi
39
fi

Return to bug 129331