Deleted Added
full compact
cron (230099) cron (240336)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/cron 230099 2012-01-14 02:18:41Z dougb $
3# $FreeBSD: head/etc/rc.d/cron 240336 2012-09-11 05:04:59Z obrien $
4#
5
6# PROVIDE: cron
4#
5
6# PROVIDE: cron
7# REQUIRE: LOGIN cleanvar
7# REQUIRE: LOGIN FILESYSTEMS
8# BEFORE: securelevel
9# KEYWORD: shutdown
10
11. /etc/rc.subr
12
13name="cron"
14rcvar="cron_enable"
15command="/usr/sbin/${name}"
16pidfile="/var/run/${name}.pid"
17
18load_rc_config $name
19if checkyesno cron_dst
20then
21 cron_flags="$cron_flags -s"
22fi
23run_rc_command "$1"
8# BEFORE: securelevel
9# KEYWORD: shutdown
10
11. /etc/rc.subr
12
13name="cron"
14rcvar="cron_enable"
15command="/usr/sbin/${name}"
16pidfile="/var/run/${name}.pid"
17
18load_rc_config $name
19if checkyesno cron_dst
20then
21 cron_flags="$cron_flags -s"
22fi
23run_rc_command "$1"