blob: b3698b7e5cac3899df77cd92d468e061b9d70f57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# 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="%%PREFIX%%/sbin/anacron"
run_rc_command "$1"
|