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.
This commit is contained in:
lukem 2000-07-17 15:24:48 +00:00
parent d046f31b64
commit db024b3733
3 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,11 @@
#!/bin/sh
#
# $NetBSD: cron,v 1.3 2000/05/13 08:45:06 lukem Exp $
# $NetBSD: cron,v 1.4 2000/07/17 15:24:48 lukem Exp $
#
# PROVIDE: cron
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr

View File

@ -1,10 +1,11 @@
#!/bin/sh
#
# $NetBSD: inetd,v 1.4 2000/05/13 08:45:06 lukem Exp $
# $NetBSD: inetd,v 1.5 2000/07/17 15:24:48 lukem Exp $
#
# PROVIDE: inetd
# REQUIRE: DAEMON LOGIN
# KEYWORD: shutdown
. /etc/rc.subr

View File

@ -1,10 +1,11 @@
#!/bin/sh
#
# $NetBSD: xdm,v 1.4 2000/05/13 08:45:10 lukem Exp $
# $NetBSD: xdm,v 1.5 2000/07/17 15:24:48 lukem Exp $
#
# PROVIDE: xdm
# REQUIRE: DAEMON LOGIN wscons
# KEYWORD: shutdown
. /etc/rc.subr