MFC r1.3:
[dragonfly.git] / etc / rc.d / cron
blob00ff431e06bfcd1a03f25e9edc1dcbd1eb03cf59
1 #!/bin/sh
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 $
8 # PROVIDE: cron
9 # REQUIRE: LOGIN
10 # BEFORE: securelevel
11 # KEYWORD: shutdown
13 . /etc/rc.subr
15 name="cron"
16 rcvar="`set_rcvar`"
17 command="/usr/sbin/${name}"
18 pidfile="/var/run/${name}.pid"
20 load_rc_config $name
21 run_rc_command "$1"