xref: /dragonfly/etc/rc.d/cron (revision 19fe1c42)
1#!/bin/sh
2#
3# $NetBSD: cron,v 1.5 2000/09/19 13:04:38 lukem Exp $
4# $FreeBSD: src/etc/rc.d/cron,v 1.3 2003/05/05 15:38:41 mtm Exp $
5# $DragonFly: src/etc/rc.d/cron,v 1.3 2005/11/19 21:47:32 swildner Exp $
6#
7
8# PROVIDE: cron
9# REQUIRE: LOGIN
10# BEFORE: securelevel
11# KEYWORD: shutdown
12
13. /etc/rc.subr
14
15name="cron"
16rcvar="`set_rcvar`"
17command="/usr/sbin/${name}"
18pidfile="/var/run/${name}.pid"
19
20load_rc_config $name
21run_rc_command "$1"
22