diff options
Diffstat (limited to 'sys-process/anacron/files/anacron.rc6')
-rwxr-xr-x | sys-process/anacron/files/anacron.rc6 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-process/anacron/files/anacron.rc6 b/sys-process/anacron/files/anacron.rc6 new file mode 100755 index 000000000000..4e4a0a78e903 --- /dev/null +++ b/sys-process/anacron/files/anacron.rc6 @@ -0,0 +1,15 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use logger + need clock hostname +} + +start() { + ebegin "Running anacron" + /usr/sbin/anacron -s >>/var/log/cron.log 2>&1 + eend $? +} |