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

Collapse All | Expand All

(-)/usr/portage/sys-apps/openrc/openrc-0.11.4.ebuild (-3 / +3 lines)
Lines 153-159 Link Here
153
	fi
153
	fi
154
154
155
	elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
155
	elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
156
	ln -snf "${EROOT}"/etc/init.d/${initd} "${EROOT}"/etc/runlevels/${runlevel}/${initd}
156
	ln -snf "${EROOT%/}"/etc/init.d/${initd} "${EROOT}"/etc/runlevels/${runlevel}/${initd}
157
}
157
}
158
add_boot_init_mit_config() {
158
add_boot_init_mit_config() {
159
	local config=$1 initd=$2
159
	local config=$1 initd=$2
Lines 205-215 Link Here
205
	fi
205
	fi
206
	if [[ -L ${EROOT}/etc/runlevels/boot/clock ]] ; then
206
	if [[ -L ${EROOT}/etc/runlevels/boot/clock ]] ; then
207
		rm -f "${EROOT}"/etc/runlevels/boot/clock
207
		rm -f "${EROOT}"/etc/runlevels/boot/clock
208
		ln -snf /etc/init.d/${clock} "${EROOT}"/etc/runlevels/boot/${clock}
208
		ln -snf /etc/init.d/${clock} "${EROOT%/}"/etc/runlevels/boot/${clock}
209
	fi
209
	fi
210
	if [[ -L ${EROOT}${LIBDIR}/rc/init.d/started/clock ]] ; then
210
	if [[ -L ${EROOT}${LIBDIR}/rc/init.d/started/clock ]] ; then
211
		rm -f "${EROOT}${LIBDIR}"/rc/init.d/started/clock
211
		rm -f "${EROOT}${LIBDIR}"/rc/init.d/started/clock
212
		ln -snf /etc/init.d/${clock} "${EROOT}${LIBDIR}"/rc/init.d/started/${clock}
212
		ln -snf /etc/init.d/${clock} "${EROOT%/}${LIBDIR}"/rc/init.d/started/${clock}
213
	fi
213
	fi
214
214
215
	# /etc/conf.d/rc is no longer used for configuration
215
	# /etc/conf.d/rc is no longer used for configuration

Return to bug 442020