
now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust.
18 lines
252 B
Bash
Executable File
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"
|