#!/bin/sh
#
# $FreeBSD: branches/2018Q3/sysutils/anacron/files/anacron.in 361519 2014-07-11 09:52:59Z madpilot $
#

# 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

load_rc_config $name
: ${anacron_enable:=NO}
command="/usr/local/sbin/anacron"

run_rc_command "$1"
