#!/bin/sh # # $FreeBSD: head/sysutils/fcron/files/fcron.in 414794 2016-05-08 09:33:26Z pi $ # # 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"