Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 240984 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sys-apps/openrc/openrc-9999.ebuild (-4 / +8 lines)
Lines 252-261 Link Here
252
	[[ -e ${T}/net && ! -e ${ROOT}/etc/conf.d/net ]] && mv "${T}"/net "${ROOT}"/etc/conf.d/net
252
	[[ -e ${T}/net && ! -e ${ROOT}/etc/conf.d/net ]] && mv "${T}"/net "${ROOT}"/etc/conf.d/net
253
253
254
	# Make our runlevels if they don't exist
254
	# Make our runlevels if they don't exist
255
	if [[ ! -e ${ROOT}/etc/runlevels ]] ; then
255
	local runlevel=
256
		einfo "Copying across default runlevels"
256
	for runlevel in "${ROOT}"/usr/share/${PN}/runlevels/*; do
257
		cp -RPp "${ROOT}"/usr/share/${PN}/runlevels "${ROOT}"/etc
257
		if [[ ! -e ${ROOT}/etc/runlevels/${runlevel##*/} ]] ; then
258
	fi
258
			ebegin "Copying new runlevel '${runlevel##*/}'"
259
			cp -RPp "${runlevel}" "${ROOT}"/etc
260
			eend $?
261
		fi
262
	done
259
263
260
	# update the dependency tree bug #224171
264
	# update the dependency tree bug #224171
261
	[[ "${ROOT}" = "/" ]] && "${ROOT}/${LIBDIR}"/rc/bin/rc-depend -u
265
	[[ "${ROOT}" = "/" ]] && "${ROOT}/${LIBDIR}"/rc/bin/rc-depend -u

Return to bug 240984