#!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-process/anacron/files/anacron.rc6,v 1.1 2005/03/03 17:32:37 ciaranm Exp $ depend() { use logger need clock hostname } start() { ebegin "Starting ${RC_SVCNAME}" start-stop-daemon --start --pidfile ${pid_file} \ --exec /usr/sbin/anacron -- -s eend ${?} } stop() { ebegin "Stopping ${RC_SVCNAME}" start-stop-daemon --stop --quiet --exec /usr/sbin/anacron eend ${?} }