]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/cron
Fix incorrect checksum calculations with IPv6 extension headers.
[FreeBSD/FreeBSD.git] / etc / rc.d / cron
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: cron
7 # REQUIRE: LOGIN FILESYSTEMS
8 # BEFORE: securelevel
9 # KEYWORD: shutdown
10
11 . /etc/rc.subr
12
13 name="cron"
14 desc="Daemon to execute scheduled commands"
15 rcvar="cron_enable"
16 command="/usr/sbin/${name}"
17 pidfile="/var/run/${name}.pid"
18
19 load_rc_config $name
20 if checkyesno cron_dst
21 then
22         cron_flags="$cron_flags -s"
23 fi
24 run_rc_command "$1"