Changes: http://fcron.free.fr/doc/en/changes.html - updated maintainer mail PR: 209139 Submitted by: bob@eager.cx (maintainer)
24 lines
374 B
Bash
24 lines
374 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: fcron
|
|
# REQUIRE: LOGIN
|
|
# BEFORE: securelevel
|
|
# KEYWORD: shutdown
|
|
#
|
|
# fcron_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable fcron.
|
|
|
|
. /etc/rc.subr
|
|
|
|
desc="Periodic command scheduler"
|
|
name=fcron
|
|
rcvar=fcron_enable
|
|
|
|
load_rc_config $name
|
|
|
|
command="%%PREFIX%%/sbin/${name}"
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
run_rc_command "$1"
|