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

Collapse All | Expand All

(-)rc.orig (+9 lines)
Lines 162-167 Link Here
162
	try mount -n ${mntcmd:--t proc proc /proc}
162
	try mount -n ${mntcmd:--t proc proc /proc}
163
	eend $?
163
	eend $?
164
164
165
	# start logging here
166
	start_boot_profile
167
165
	# Read off the kernel commandline to see if there's any special settings
168
	# Read off the kernel commandline to see if there's any special settings
166
	# especially check to see if we need to set the  CDBOOT environment variable
169
	# especially check to see if we need to set the  CDBOOT environment variable
167
	# Note: /proc MUST be mounted
170
	# Note: /proc MUST be mounted
Lines 402-407 Link Here
402
		local retval=
405
		local retval=
403
		local service=$1
406
		local service=$1
404
407
408
		process_name "${service}"
409
		
405
		source "/etc/init.d/${service}" || eerror "Failed to source /etc/init.d/${service}"
410
		source "/etc/init.d/${service}" || eerror "Failed to source /etc/init.d/${service}"
406
		retval=$?
411
		retval=$?
407
		[ "${retval}" -ne 0 ] && return "${retval}"
412
		[ "${retval}" -ne 0 ] && return "${retval}"
Lines 502-507 Link Here
502
	# Now that the dependency cache are up to date, make sure these
507
	# Now that the dependency cache are up to date, make sure these
503
	# are marked as started ...
508
	# are marked as started ...
504
	(
509
	(
510
		process_name mark "${x}" started
511
		
505
		# Needed for mark_service_started()
512
		# Needed for mark_service_started()
506
		source "${svclib}/sh/rc-services.sh"
513
		source "${svclib}/sh/rc-services.sh"
507
		
514
		
Lines 872-877 Link Here
872
# Runlevel end, so clear stale fail list
879
# Runlevel end, so clear stale fail list
873
rm -rf "${svcdir}/failed" &>/dev/null
880
rm -rf "${svcdir}/failed" &>/dev/null
874
881
882
[ -z "${BOOT}" ] && stop_boot_profile
883
875
# If we were in the boot runlevel, it is done now ...
884
# If we were in the boot runlevel, it is done now ...
876
[ -n "${BOOT}" ] && unset BOOT
885
[ -n "${BOOT}" ] && unset BOOT
877
886
(-)rc-services.sh.orig (-1 / +5 lines)
Lines 415-421 Link Here
415
			mark_service_started "$1"
415
			mark_service_started "$1"
416
			splash "svc_started" "$1" "0"
416
			splash "svc_started" "$1" "0"
417
		else
417
		else
418
			(. /sbin/runscript.sh "/etc/init.d/$1" start)
418
			(
419
				process_name "$1"
420
				
421
				. /sbin/runscript.sh "/etc/init.d/$1" start
422
			)
419
			retval="$?"
423
			retval="$?"
420
			splash "svc_started" "$1" "${retval}"
424
			splash "svc_started" "$1" "${retval}"
421
			return "${retval}"
425
			return "${retval}"
(-)functions.sh.orig (+23 lines)
Lines 63-68 Link Here
63
# This will override the splash() function...
63
# This will override the splash() function...
64
[ -f /sbin/splash-functions.sh ] && source /sbin/splash-functions.sh
64
[ -f /sbin/splash-functions.sh ] && source /sbin/splash-functions.sh
65
65
66
# void process_name(...)
67
#
68
# Notify bootchart about a subshell and what name should 
69
# be used for it
70
71
process_name() {
72
	return 0
73
}
74
75
start_boot_profile() {
76
	return 0
77
}
78
79
stop_boot_profile()
80
{
81
	return 0
82
}
83
84
# This will override the process_name, start_boot_profile and stop_boot_profile
85
if [[ ${RC_USE_BOOTCHART} = "yes" ]] && [[ -f /sbin/boot_profile_functions.sh ]] ; then
86
	source /sbin/boot_profile_functions.sh
87
fi
88
66
# void get_bootconfig()
89
# void get_bootconfig()
67
#
90
#
68
#    Get the BOOTLEVEL and SOFTLEVEL by setting
91
#    Get the BOOTLEVEL and SOFTLEVEL by setting

Return to bug 74425