#!/bin/sh # # $FreeBSD: ports/sysutils/anacron/files/anacron.sh.in,v 1.1 2005/06/16 15:51:38 jylefort Exp $ # # PROVIDE: anacron # REQUIRE: LOGIN # # Add the following line to /etc/rc.conf to enable anacron: # # anacron_enable="YES" # . /etc/rc.subr name="anacron" rcvar=`set_rcvar` command="/usr/local/sbin/anacron" load_rc_config $name : ${anacron_enable="NO"} run_rc_command "$1"