From 911439c4411be3ba0bab41b8f11ce0598b0cae9d Mon Sep 17 00:00:00 2001 From: Sébastien Luttringer Date: Sun, 10 Jun 2012 03:46:34 +0200 Subject: Remove ck_depends MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ck_depends is no more used and should not be used anymore Signed-off-by: Sébastien Luttringer --- functions | 9 --------- 1 file changed, 9 deletions(-) (limited to 'functions') 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 & -- cgit v1.2.3-54-g00ecf From 9f365dbf216f3d7a504928fc64dcdb5941ad449b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 24 Jun 2012 16:22:58 +0200 Subject: tmpfiles: actually remove old files on boot We were not deleting old files as we forgot to add the --clean flag Signed-off-by: Tom Gundersen --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions b/functions index fd52317..000cd60 100644 --- a/functions +++ b/functions @@ -580,7 +580,7 @@ umount_all() { } remove_leftover() { - status -v 'Removing Leftover Files' systemd-tmpfiles --create --remove + status -v 'Removing Leftover Files' systemd-tmpfiles --create --remove --clean } bootlogd_stop() { -- cgit v1.2.3-54-g00ecf