diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-10 03:29:49 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-10 03:59:47 -0400 |
commit | be4ae58ceacfe1c4a0e4bc2b847556b0fc458c74 (patch) | |
tree | 5d91b9c0d518cb06e1f5a1c119c00de7679c18dc /sys-process/anacron/files | |
parent | anacron: EAPI: update to 5 (diff) | |
download | gentoo-be4ae58ceacfe1c4a0e4bc2b847556b0fc458c74.tar.gz gentoo-be4ae58ceacfe1c4a0e4bc2b847556b0fc458c74.tar.bz2 gentoo-be4ae58ceacfe1c4a0e4bc2b847556b0fc458c74.zip |
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.
Diffstat (limited to 'sys-process/anacron/files')
-rwxr-xr-x[-rw-r--r--] | sys-process/anacron/files/anacron.rc6 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-process/anacron/files/anacron.rc6 b/sys-process/anacron/files/anacron.rc6 index 4e4a0a78e903..0baa217e5241 100644..100755 --- 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 $? } |