commit: be4ae58ceacfe1c4a0e4bc2b847556b0fc458c74
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 07:29:49 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 07:59:47 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4ae58c
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(-)
diff --git a/sys-process/anacron/files/anacron.rc6
b/sys-process/anacron/files/anacron.rc6
old mode 100644
new mode 100755
index 4e4a0a7..0baa217
--- 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 $?
}