summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorSébastien Luttringer <seblu@seblu.net>2012-06-10 03:46:34 +0200
committerTom Gundersen <teg@jklm.no>2012-06-23 14:00:17 +0200
commit911439c4411be3ba0bab41b8f11ce0598b0cae9d (patch)
treede8c4c75e4ee0220858b41740fae095e1b76e903 /functions
parentdad9b760821b8699da8efffb230c3bf564392a38 (diff)
Remove ck_depends
ck_depends is no more used and should not be used anymore Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'functions')
-rw-r--r--functions9
1 files changed, 0 insertions, 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 &