NetBSD/etc/rc.d/cron
lukem db024b3733 add '# KEYWORD: shutdown' so that these scripts get run at shutdown time.
now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown,
which speeds up shutdown and makes it more robust.
2000-07-17 15:24:48 +00:00

18 lines
252 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: cron,v 1.4 2000/07/17 15:24:48 lukem Exp $
#
# PROVIDE: cron
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="cron"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"