summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2005-12-02 13:42:29 +0000
committerChristian Heim <phreak@gentoo.org>2005-12-02 13:42:29 +0000
commite576a92e444c7dad176ea69aacbf125c47ea57ff (patch)
tree9d4ccb3197cceb5fbf41d506e766d9cefc872330 /sbin/rc-services.sh
parentRedoing a clean branch; starting it from scratch (diff)
downloadbaselayout-vserver-e576a92e444c7dad176ea69aacbf125c47ea57ff.tar.gz
baselayout-vserver-e576a92e444c7dad176ea69aacbf125c47ea57ff.tar.bz2
baselayout-vserver-e576a92e444c7dad176ea69aacbf125c47ea57ff.zip
Starting over again with baselayout revision 1649.
svn path=/baselayout-vserver/branches/baselayout-1_12/; revision=131
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 f759c49..795a78c 100755
--- a/sbin/rc-services.sh
+++ b/sbin/rc-services.sh
@@ -364,20 +364,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
@@ -385,7 +381,6 @@ start_service() {
(
"/etc/init.d/${service}" start
retval=$?
- splash "svc_started" "${service}" "${retval}"
end_service "${service}" "${retval}"
) &
return 0
@@ -412,22 +407,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
@@ -435,7 +426,6 @@ stop_service() {
(
( "/etc/init.d/${service}" stop )
retval=$?
- splash "svc_stopped" "${service}" "${retval}"
end_service "${service}" "${retval}"
) &
return 0