Lines 163-168
Link Here
|
163 |
try mount -n ${mntcmd:--t proc none /proc} |
163 |
try mount -n ${mntcmd:--t proc none /proc} |
164 |
eend $? |
164 |
eend $? |
165 |
|
165 |
|
|
|
166 |
# start logging here |
167 |
start_boot_profile |
168 |
|
166 |
# Read off the kernel commandline to see if there's any special settings |
169 |
# Read off the kernel commandline to see if there's any special settings |
167 |
# especially check to see if we need to set the CDBOOT environment variable |
170 |
# especially check to see if we need to set the CDBOOT environment variable |
168 |
# Note: /proc MUST be mounted |
171 |
# Note: /proc MUST be mounted |
Lines 409-414
Link Here
|
409 |
local retval= |
412 |
local retval= |
410 |
local service=$1 |
413 |
local service=$1 |
411 |
|
414 |
|
|
|
415 |
process_name "${service}" |
416 |
|
412 |
source "/etc/init.d/${service}" || eerror "Failed to source /etc/init.d/${service}" |
417 |
source "/etc/init.d/${service}" || eerror "Failed to source /etc/init.d/${service}" |
413 |
retval=$? |
418 |
retval=$? |
414 |
[ "${retval}" -ne 0 ] && return "${retval}" |
419 |
[ "${retval}" -ne 0 ] && return "${retval}" |
Lines 509-514
Link Here
|
509 |
# Now that the dependency cache are up to date, make sure these |
514 |
# Now that the dependency cache are up to date, make sure these |
510 |
# are marked as started ... |
515 |
# are marked as started ... |
511 |
( |
516 |
( |
|
|
517 |
process_name mark "${x}" started |
518 |
|
512 |
# Needed for mark_service_started() |
519 |
# Needed for mark_service_started() |
513 |
source "${svclib}/sh/rc-services.sh" |
520 |
source "${svclib}/sh/rc-services.sh" |
514 |
|
521 |
|
Lines 879-884
Link Here
|
879 |
# Runlevel end, so clear stale fail list |
886 |
# Runlevel end, so clear stale fail list |
880 |
rm -rf "${svcdir}/failed" &>/dev/null |
887 |
rm -rf "${svcdir}/failed" &>/dev/null |
881 |
|
888 |
|
|
|
889 |
[ -z "${BOOT}" ] && stop_boot_profile |
890 |
|
882 |
# If we were in the boot runlevel, it is done now ... |
891 |
# If we were in the boot runlevel, it is done now ... |
883 |
[ -n "${BOOT}" ] && unset BOOT |
892 |
[ -n "${BOOT}" ] && unset BOOT |
884 |
|
893 |
|