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

(-)rc (-2 / +10 lines)
Lines 278-285 Link Here
278
278
279
	service_stopped "${service}" && return 0
279
	service_stopped "${service}" && return 0
280
280
281
	[[ -L "${svcdir}/softscripts.new/${service}" ]] \
281
	# If service is in the new runlevel stop it if the config
282
		&& return 0
282
	# file it will use changes due to config profile
283
	if [[ -L "${svcdir}/softscripts.new/${service}" ]] ; then
284
		[[ ${RC_USE_CONFIG_PROFILE} != "yes" ]] && return 0
285
		[[ ${OLDSOFTLEVEL} == "${SOFTLEVEL}" ]] && return 0
286
		if [[ ! -e /etc/conf.d/"${service}.${OLDSOFTLEVEL}"
287
		&& ! -e /etc/conf.d/"${service}.${SOFTLEVEL}" ]] ; then
288
			return 0
289
		fi
290
	fi
283
291
284
	if [[ ${SOFTLEVEL} != "reboot" \
292
	if [[ ${SOFTLEVEL} != "reboot" \
285
	      && ${SOFTLEVEL} != "shutdown" \
293
	      && ${SOFTLEVEL} != "shutdown" \

Return to bug 149182