1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/sysutils/anacron/files/anacron.sh.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

25 lines
305 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# 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="%%PREFIX%%/sbin/anacron"
load_rc_config $name
: ${anacron_enable="NO"}
run_rc_command "$1"