summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-09-20 15:11:52 +0000
committerRoy Marples <uberlord@gentoo.org>2006-09-20 15:11:52 +0000
commit289d4a40ae13f653d69df3c465bc525bff2c01b5 (patch)
treec0137a9d3fb9a92f932a559b00f2ad5893442541
parentfix bootchart CATEGORY typo #145263 (diff)
downloadbaselayout-289d4a40ae13f653d69df3c465bc525bff2c01b5.tar.gz
baselayout-289d4a40ae13f653d69df3c465bc525bff2c01b5.tar.bz2
baselayout-289d4a40ae13f653d69df3c465bc525bff2c01b5.zip
Start scheduled services in the correct order, #148011.
svn path=/branches/baselayout-1_12/; revision=2253
-rw-r--r--ChangeLog4
-rwxr-xr-xsbin/runscript.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ac08ff9..d04154a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2
+ 19 Sep 2006; Roy Marples <uberlord@gentoo.org>:
+
+ Start scheduled services in the correct order, #148011.
+
06 Sep 2006; Roy Marples <uberlord@gentoo.org>:
Fix PPPoA usage, #144194 thanks to Giampaolo Tomassoni.
diff --git a/sbin/runscript.sh b/sbin/runscript.sh
index 99feca71..0fdac7e6 100755
--- a/sbin/runscript.sh
+++ b/sbin/runscript.sh
@@ -158,7 +158,7 @@ svc_start_scheduled() {
services="${services} ${x##*/}"
done
- for x in ${services} ; do
+ for x in $(trace_dependencies ${services}) ; do
service_stopped "${x}" && start_service "${x}"
rm -f "${svcdir}/scheduled/${SVCNAME}/${x}"
done