From be4ae58ceacfe1c4a0e4bc2b847556b0fc458c74 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 10 Aug 2015 03:29:49 -0400 Subject: [PATCH] anacron: init.d: do not require clock/hostname #546138 If the system initializes these settings via other means (such as the kernel handling it), there's no need to force them to start up. Change the "need" to "use" so that things work correctly. --- sys-process/anacron/files/anacron.rc6 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 sys-process/anacron/files/anacron.rc6 diff --git a/sys-process/anacron/files/anacron.rc6 b/sys-process/anacron/files/anacron.rc6 old mode 100644 new mode 100755 index 4e4a0a78e903..0baa217e5241 --- a/sys-process/anacron/files/anacron.rc6 +++ b/sys-process/anacron/files/anacron.rc6 @@ -1,15 +1,14 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ depend() { - use logger - need clock hostname + use clock hostname logger } start() { ebegin "Running anacron" - /usr/sbin/anacron -s >>/var/log/cron.log 2>&1 + anacron -s >>/var/log/cron.log 2>&1 eend $? } -- 2.26.2