[arch-projects] [INITSCRIPTS][PATCH 3/6] Remove ck_depends

Sébastien Luttringer seblu at seblu.net
Mon Jun 11 17:10:37 EDT 2012


ck_depends is no more used and should not be used anymore

Signed-off-by: Sébastien Luttringer <seblu at seblu.net>
---
 functions |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/functions b/functions
index 4a8ba7b..fd52317 100644
--- a/functions
+++ b/functions
@@ -229,15 +229,6 @@ start_daemon() {
 	have_daemon "$1" && /etc/rc.d/"$1" start
 }
 
-# Never use this function, it causes daemons to be stoped in the wrong order.
-# The only way to start a daemon at boot is to add it to the DAEMONS array.
-ck_depends() {
-	local daemon
-	for daemon; do
-		ck_daemon "$daemon" && start_daemon "$daemon"
-	done
-}
-
 start_daemon_bkgd() {
 	stat_bkgd "Starting $1"
 	(start_daemon "$1") >/dev/null &
-- 
Sebastien "Seblu" Luttringer



More information about the arch-projects mailing list