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 |
|