aboutsummaryrefslogtreecommitdiff
path: root/sysutils/anacron/files/anacron.sh.in
blob: 85e2704ef0a4d65519ca47988754a246e6664503 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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"