]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - etc/rc.d/cron
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 rcvar="cron_enable"
15 command="/usr/sbin/${name}"
16 pidfile="/var/run/${name}.pid"
17
18 load_rc_config $name
19 if checkyesno cron_dst
20 then
21         cron_flags="$cron_flags -s"
22 fi
23 run_rc_command "$1"