mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
1d6b4b3f91
s#. %%RC_SUBR%%#. /etc/rc.subr#
25 lines
305 B
Bash
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"
|