summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/rc-services.sh')
-rwxr-xr-xsbin/rc-services.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/sbin/rc-services.sh b/sbin/rc-services.sh
index c0ffe1d..d75b91c 100755
--- a/sbin/rc-services.sh
+++ b/sbin/rc-services.sh
@@ -367,20 +367,16 @@ start_service() {
if is_fake_service "${service}" "${SOFTLEVEL}" ; then
mark_service_started "${service}"
- splash "svc_start" "${service}"
- splash "svc_started" "${service}" "0"
return 0
fi
begin_service "${service}" || return 0
- splash "svc_start" "${service}"
if [[ ${RC_PARALLEL_STARTUP} != "yes" \
|| ${START_CRITICAL} == "yes" ]] ; then
# if we can not start the services in parallel
# then just start it and return the exit status
( "/etc/init.d/${service}" start )
retval="$?"
- splash "svc_started" "${service}" "${retval}"
end_service "${service}" "${retval}"
return "${retval}"
else
@@ -388,7 +384,6 @@ start_service() {
(
"/etc/init.d/${service}" start
retval="$?"
- splash "svc_started" "${service}" "${retval}"
end_service "${service}" "${retval}"
) &
return 0
@@ -415,22 +410,18 @@ stop_service() {
is_runlevel_stop && level="${OLDSOFTLEVEL}"
if is_fake_service "${service}" "${level}" ; then
- splash "svc_stop" "${service}"
mark_service_stopped "${service}"
- splash "svc_stopped" "${service}" "0"
return 0
fi
begin_service "${service}" || return 0
- splash "svc_stop" "${service}"
if [[ ${RC_PARALLEL_STARTUP} != "yes" \
|| ${STOP_CRITICAL} == "yes" ]] ; then
# if we can not start the services in parallel
# then just start it and return the exit status
( "/etc/init.d/${service}" stop )
retval="$?"
- splash "svc_stopped" "${service}" "${retval}"
end_service "${service}" "${retval}"
return "${retval}"
else
@@ -438,7 +429,6 @@ stop_service() {
(
( "/etc/init.d/${service}" stop )
retval="$?"
- splash "svc_stopped" "${service}" "${retval}"
end_service "${service}" "${retval}"
) &
return 0