#!/bin/sh
#
# $FreeBSD: sysutils/anacron/files/anacron.in 302141 2012-08-05 23:19:36Z dougb $
#

# PROVIDE: anacron
# REQUIRE: LOGIN

#
# Add the following line to /etc/rc.conf to enable anacron:
#
# anacron_enable="YES"
#

. /etc/rc.subr

name="anacron"
rcvar=anacron_enable
command="/usr/local/sbin/anacron"

load_rc_config $name
: ${anacron_enable="NO"}

run_rc_command "$1"
